View previous topic :: View next topic |
Author |
Message |
czo Tux's lil' helper
Joined: 01 Sep 2004 Posts: 107 Location: Denmark
|
Posted: Sat Nov 06, 2004 9:18 pm Post subject: sudo.. help needed |
|
|
Hi gentoos
i have a problem, i would like to run root-tail via sudo, but somethings is wrong..
Code: | cenzole@czo ~ $ sudo root-tail -g 750x150+12+50 -f -fn '-*-snap-*-*-*-*-*-*-*-*-*-*-*-*' /var/log/messages
Sorry, user cenzole is not allowed to execute '/usr/X11R6/bin/root-tail -g 750x150+12+50 -f -fn -*-snap-*-*-*-*-*-*-*-*-*-*-*-* /var/log/messages' as root on czo.
|
what is wrong, here is my sudoers file
Code: | cenzole czo=/usr/X11R6/bin/root-tail -g 750x150+12+50 -f -f
n '-*-snap-*-*-*-*-*-*-*-*-*-*-*-*' /var/log/messages
|
can you see anything strange?? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20583
|
Posted: Sat Nov 06, 2004 9:41 pm Post subject: |
|
|
I'm no sudoers expert, but here is what I use without problems: Code: | pjp pc2=(ALL) NOPASSWD: /usr/sbin/esync |
Moved from Other Things Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|