root can't sudo



Hi,

I had no problem invoking my scripts embedded with sudo as root before,
but not now in my new installation:

root@coral:~# echo abc | sudo tee /tmp/t
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting

root@coral:~# id
uid=0(root) gid=0(root) groups=0(root)

root@coral:~# ls -l /etc/sudoers
-r--r----- 1 root root 2354 2010-09-17 09:34 /etc/sudoers

root@coral:~# head -1 /etc/sudoers
# sudoers file.

What could be wrong?

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/i7raph$96h$1@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: Xorg starts only manually
    ... sudo update-rc.d gdm defaults ... other hand, if the GDM init script is missing for some reason, try ... installing the package "gdm". ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Paternalistic D-Bus Restrictions (was Re: Applications, Accessories, Root Terminal fails sil
    ... especially for experienced users like myself; ... NEED to be able to use gnome-terminal as root. ... does this problem happens if user uses sudo mode for gksu. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: sudo versus su environment?
    ... The latest sudo will reset the env default, so you need add below line to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: [Partially solved] Re: Locale errors
    ... Same problem -- extra set of quotes in the environment variables after doing "sudo -i". ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Correct sudoers file configuration
    ... I'm required to input my password by sudo (to download and install ... jason   ALL=ALL ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)