DaNe Apprentice
Joined: 29 Apr 2006 Posts: 192
|
Posted: Sun Feb 24, 2008 12:22 pm Post subject: sudo emerge and otherthings |
|
|
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" ? |
|