This is Sudo version 1.6.7p5 on HPUX 11.11.
I have a sudoers file which has this in it as a host alias (this is the only
host alias in the file):
Host_Alias K200 = n4000b
However the hostname command on the system returns:
k200
The Host_Alias should match the system hostname, it was changed during
testing and not placed back after testing completed. So this is a typo in
the sudoers file.
The problem is that privilege specifications are using the alias K200 (which
is not the current hostname) and the users are still able to list and run
commands? Why is this so? Here is an example of the privs. using the K200
Host_Alias:
COMM K200 = (tftp) CHMOD600IOLAN, CHMOD400IOLAN
Is it possible that a syntax error in the sudoers file is causing the
host_alias portion to be ignored?
Thanks,
-ab