
12th January 2006, 00:18
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
|
|
sudo / sudoers question
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?
|

12th January 2006, 02:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
I think so. It depends on how many programs you want grant access to your users...
|

21st June 2006, 16:31
|
|
Member
|
|
Join Date: May 2006
Posts: 77
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
command "mail"
please let met know which direcotry has "mail" command.
whether is "usr/sbin or /usr/bin wheere?
Regards
Qavi
|

22nd June 2006, 16:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
|

22nd June 2006, 17:08
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
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
__________________
Registered Linux User 294493
|

14th July 2006, 08:54
|
|
Member
|
|
Join Date: May 2006
Posts: 77
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
sudo
Can we granted a permission to (home) directory to junior administrator
how configure it in sudores file.
Regards
Qavi
|

15th July 2006, 14:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by zaqavis
Can we granted a permission to (home) directory to junior administrator
|
This can be done with the permissions of the /home directory.
Quote:
|
Originally Posted by zaqavis
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:52.
|
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 9 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 15 hours ago
1 day 15 hours ago
1 day 17 hours ago