Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
keekdownOffline
9 Post subject: How add rule in /etc/sudoers  PostPosted: 09.09.2011, 15:28



Joined: 2011-07-28
Posts: 17
Location: Russia
Status: Offline
I here want to create a script,in which i use a programm from a name by "root".My cfg list
      Code:
my_login ALL=(ALL) NOPASSWD:/usr/bin/gctwimax

When i added the rule,rebooted,but nothing hasn't worked.help me please
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject: RE: How add rule in /etc/sudoers  PostPosted: 09.09.2011, 17:10
Team Member


Joined: 2010-08-26
Posts: 170

did you tried to look into /usr/share/doc/sudo ?
there is some documentations and examples there!

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
sx9Offline
Post subject: RE: How add rule in /etc/sudoers  PostPosted: 10.09.2011, 13:51



Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
Enter visudo in your terminal (as root of course...) to edit your sudoers safely.

_________________
My new self-made computer:
Intel Core i7-2600k
ASUS Maximus IV Gene-Z (Mainboard)
2x4GB DDR3 RAM
ATI Radeon HD 6770
OCZ Vertex 3 60GB (SSD)
Western Digital Caviar Green WD20EARX 2TB (HDD)
...
aptosid x86_64
 
 View user's profile Send private message Send e-mail Yahoo Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio