Sudo and Automounts

Heath.Goebel at ngc.com Heath.Goebel at ngc.com
Wed Aug 13 16:13:29 EDT 2003


We're attempting to automount our /etc/sudoers file, but we're getting a weird "sudo: /etc/sudoers is not a regular file" error message. Any help would be appreciated. See details below:

sun% sudo cat /etc/sudoers
sudo: /etc/sudoers is not a regular file
sun% sudo -V
sudo: /etc/sudoers is not a regular file
sun% su -
Password: ******
sun# cat /etc/sudoers
#
# /etc/sudoers
#
...
sun# exit
sun% sudo cat /etc/sudoers
#
# /etc/sudoers
#
...
sun% sudo -V
Sudo version 1.6.3p5

So, sudo works as long as the file is already mounted. But, doesn't if it needs to be mounted. Weird.




More information about the sudo-users mailing list