View Full Version : sudo / sudoers question
Tenaka
12th January 2006, 00:18
can you use sudo and or sudoers to give somebody enough rights to be able to manage a server without him getting full root privileges and still being able to check what he did?
any other possibility if this does not work?
falko
12th January 2006, 02:22
I think so. It depends on how many programs you want grant access to your users...
zaqavis
21st June 2006, 16:31
please let met know which direcotry has "mail" command.
whether is "usr/sbin or /usr/bin wheere?
Regards
Qavi
falko
22nd June 2006, 16:02
Please run which mail to find out.
dishawjp
22nd June 2006, 17:08
root privileges and still being able to check what he did?
To see what he did, you could take a look at the .bash_history file in his home directory. To view the last 50 commands he issues, use the "tail" command with the "-n 50" flag on that file. You might want to either redirect the output to a file (e.g., > nnn) so that you can grep for specific commands that you might be looking for without having to read all the output of the tail command, or if you want to read all the output, pipe it through more.
Just some random thoughts.
HTH,
Jim
zaqavis
14th July 2006, 08:54
Can we granted a permission to (home) directory to junior administrator
how configure it in sudores file.
Regards
Qavi
falko
15th July 2006, 14:15
Can we granted a permission to (home) directory to junior administrator This can be done with the permissions of the /home directory.
how configure it in sudores file.
With sudo you can manage which user can use which program, but it's not for management of directory permissions.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.