On 07/03/11 12:14, Jan Steffens wrote:
On Mon, Mar 7, 2011 at 2:57 AM, Allan McRae<allan@archlinux.org> wrote:
Another upstream patch to fix the "sudo -v" return value.
Signoff both, Allan
I just noticed some weird stuff happening to the output of sudo -l, differing the first and second (using cached credentials) times it's used:
---
~/ sudo -l Password: Matching Defaults entries for jan on this host: insults, syslog=authpriv, passwd_timeout=0, timestamp_timeout=10, env_keep+=SSH_AUTH_SOCK, editor=/usr/bin/vim\:/usr/bin/vi, env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET", env_keep+=HOME, env_keep+=XDG_SESSION_COOKIE
Runas and Command-specific defaults for jan:
User jan may run the following commands on this host: (ALL) ALL
---
~/ sudo -l Matching Defaults entries for jan on this host: insults, syslog=authpriv, passwd_timeout=0, timestamp_timeout=10, env_keep+=SSH_AUTH_SOCK, editor=/usr/bin/vim\:/usr/bin/vi, env_keep+="LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET", env_keep+=HOME, env_keep+=XDG_SESSION_COOKIE
Runas and Command-specific defaults for jan:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 User jan may run the following commands on this host: (ALL) ALL
---
Is this expected?
Probably not... I'll have a look and see if anything is reported upstream. Allan