1

sudo cannot open /etc/sudoers

view story
linux-howto

http://unix.stackexchange.com – sudo does not work. I have installed Arch onto a USB key, using BTRFS. The output of "sudo" is: $ sudo sudo: unable to stat /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin $ ls -l /etc/sudoers -r--r----- 1 root root 2849 May 18 15:00 /etc/sudoers $ lsattr /etc/sudoers --------------- /etc/sudoers $ strace -u ross sudo true 2>&1 | egrep '(sudo|set.*[ug].*id)' execve("/usr/bin/sudo", ["sudo", "true"], [/* 30 vars */]) = 0 read(3, "31799 (sudo) R 31796 31796 31754"..., 1024) = 223 lstat64("/etc/sudo.conf", 0xbfcdde (HowTos)