Re: Sudo arch wiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 31/08/12 09:48, Kevin Chadwick wrote:
> Cmnd_Alias EDITS
> = /usr/bin/vim, /usr/bin/nano, /usr/bin/cat, /usr/bin/vi Cmnd_Alias
> ARCHLINUX = /usr/sbin/gparted, /usr/bin/pacman, /usr/bin/pacman-color
> 
> root ALL = (ALL) ALL
> USER_NAME ALL = (ALL) ALL, NOPASSWD: WHEELER, NOPASSWD: PROCESSES,
> NOPASSWD: ARCHLINUX, NOPASSWD: EDITS
> 
> 
> 
> 
> The arch wiki docs are usually very good but the sudo page is
> dangerous.
> 
> The offered configs suggest adding editors to sudo when sudoedit should
> only be added and only to a set file otherwise sudo is basically just
> su and without a password in the example so suid all due to the user
> being able to edit sudoers or escape the editor.
> 

It is a wiki.  Edit it...



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux