Tags 443251 unreproducible thanks Subject: Re: sudo: sudo -l should never hang with a prompt Followup-For: Bug #443251 Package: sudo
Hi, I tried to reproduce your reported bug with the following steps: 1) Remove any line from /etc/sudoers except Defaults, which effectively gives permissions to nobody. 2) sudo -l Output: [EMAIL PROTECTED] ~ % sudo -l Sorry, user schoenfeld may not run sudo on maggie. zsh: exit 1 sudo -l Well, as you see it does not exit with an exit code of zero, but imho this is a better behaviour instead of exiting with exit code zero if user is not allowed to use sudo due to missing rights and can be easily handled in scripts. Could you comment weither the bug is still present for you? Best Regards, Patrick -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sudo depends on: ii libc6 2.7-16 GNU C Library: Shared libraries ii libpam-modules 1.0.1-4 Pluggable Authentication Modules f ii libpam0g 1.0.1-4 Pluggable Authentication Modules l sudo recommends no packages. sudo suggests no packages. -- no debconf information
signature.asc
Description: Digital signature

