Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th January 2006, 00:18
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default 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?
Reply With Quote
  #2  
Old 12th January 2006, 02:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

I think so. It depends on how many programs you want grant access to your users...
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 21st June 2006, 16:31
zaqavis zaqavis is offline
Member
 
Join Date: May 2006
Posts: 77
Thanks: 3
Thanked 0 Times in 0 Posts
Default command "mail"

please let met know which direcotry has "mail" command.
whether is "usr/sbin or /usr/bin wheere?

Regards
Qavi
Reply With Quote
  #4  
Old 22nd June 2006, 16:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Please run
Code:
which mail
to find out.
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 22nd June 2006, 17:08
dishawjp dishawjp is offline
Junior Member
 
Join Date: Feb 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 14th July 2006, 08:54
zaqavis zaqavis is offline
Member
 
Join Date: May 2006
Posts: 77
Thanks: 3
Thanked 0 Times in 0 Posts
Default sudo

Can we granted a permission to (home) directory to junior administrator

how configure it in sudores file.

Regards
Qavi
Reply With Quote
  #7  
Old 15th July 2006, 14:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall Question toyito Installation/Configuration 7 6th June 2007 10:05
UebiMiau question... toyito Installation/Configuration 4 11th January 2006 20:29
question about codomains Tenaka General 3 13th November 2005 14:48
Question about 'localhost' as Hostname Lil'Brudder Installation/Configuration 2 31st October 2005 10:58
Small question misterm Installation/Configuration 1 18th October 2005 14:07


All times are GMT +2. The time now is 12:52.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th