I want to permission to another user to create a users. I want to configuration on sudo file. pls help me.
I insall sudo package. now # sudoers file. # # This file MUST be edited with the 'visudo' command # # See the sudoers man page for the details on how to # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification root ALL=(ALL) ALL # Uncomment to allow people in group wheel to run al # %wheel ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now where i change for given a permission to another user to create new users. Regards Qavi --More--(81%)
Take a look at Code: man sudoers You must add a line with the username and probably the useradd command.
can we permit any user other than administrator to access different users home directory. if yes ,,,,, how
Yes, but not wit sudo. sudo is for programs. You must look at the permissions and ownerships of the respective directories.