Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo.. help needed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
czo
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2004
Posts: 107
Location: Denmark

PostPosted: Sat Nov 06, 2004 9:18 pm    Post subject: sudo.. help needed Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20583

PostPosted: Sat Nov 06, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum