On 1/29/06, n0dalus n0dalus+redhat@gmail.com wrote:
On 1/30/06, James Hawkins truiken@gmail.com wrote:
If the user is not in the /etc/sudoers configuration file, it just complains you're not in the configuration and asks for the root password.
/etc/sudoers is not usually world-readable. The way to do it would be with `sudo -l`, but this requires the user's password, and we'd have to parse any fine-grained security options.
I think you misunderstood what I'm saying. We don't check /etc/sudoers for the user's configuration. If the user is not in /etc/sudoers and the user runs sudo, the sudo program complains that the user is not in the configuration and asks for the root password.
-- James Hawkins