Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo emerge and otherthings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DaNe
Apprentice
Apprentice


Joined: 29 Apr 2006
Posts: 192

PostPosted: Sun Feb 24, 2008 12:22 pm    Post subject: sudo emerge and otherthings Reply with quote

i reinstalled my system but this time i make some security changes in the sudoers to be more secure,
before i used:
Code:

 %wheel        ALL=(ALL)       NOPASSWD: ALL


now i use
Code:
 %wheel ALL=(ALL)       ALL
 %users  ALL=/bin/mount /mnt/cdrom,/bin/umount /mnt/cdrom
 %users  localhost= NOPASSWD: /sbin/shutdown -h now
 %portage ALL=(ALL) NOPASSWD: /usr/bin/emerge
 %video ALL=(ALL) NOPASSWD: /usr/bin/nice -n -20 mplayer
 %video ALL=(ALL) NOPASSWD: /usr/bin/nice -n -20 vlc


my first main problem is when i run sudo emerge something someway it sends to the console like 10 paragraphs like someone have hitten the ENTER 10 times, for me that is very bad since i like to use a lot --ask

another things is in the last lines, how can i say that anything can appear next to the "nice -n -20 vlc" or "nice -n -20 mplayer" ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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