default overrides not taking effect...

Todd C. Miller Todd.Miller at
Tue Nov 27 19:49:33 EST 2001

In message <PKEAJJPELHLJLNBPCEADEELNCCAA.ian.perez-ponce at>
	so spake "Ian Perez-Ponce" (ian.perez-ponce):

> I'm running Sudo v1.6.3 on Solaris 8 and for some reason cannot get the
> default override lines in sudoers to take place. Below is a sample line I've
> included for one User_Alias PS_TEAM:
> Defaults:PS_TEAM        insults, mail_no_perms, !root_sudo, requiretty,
> verifypw=always, \
>                                     listpw=always, timestamp_timeout=3,
> passwd_timeout=3
> None of the options seem to be working. Of particular concern are password
> and timestamp setting which don't seem to be enforced even with the default
> 5 minute settings.

The parse evaluates things in a single pass, in the order that it
sees things.  I bet PS_TEAM is defined after the 'Defaults:PS_TEAM'
line.  If you define PS_TEAM before it I bet it will work.

 - todd

More information about the sudo-users mailing list