On Fri, Nov 14, 2008 at 12:10:07PM +0100, Patrick Schoenfeld wrote:
> 
> 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

hm, I get this:

$ dpkg -s sudo|grep ^Vers
Version: 1.6.8p12-4

# egrep -v '^ *#|^ *$' /etc/sudoers
Defaults        env_reset
User_Alias      UTE=uest2,amsis
Cmnd_Alias      ODBC=/usr/bin/ODBCConfig,/usr/bin/iodbcadm-gtk,/usr/bin/odbcinst
root    ALL=(ALL) ALL
secvpn  ALL=NOPASSWD: /usr/sbin/secvpn, /usr/sbin/pppd
amsis   ALL=NOPASSWD: /usr/sbin/hibernate
%cdrom  ALL=NOPASSWD: /bin/mount, /bin/umount, /usr/sbin/scsiinfo, 
/sbin/scsiinfo
amsis   ALL=/usr/bin/dselect,/usr/bin/apt-*,/usr/bin/aptitude,/usr/bin/dpkg
amsis   ALL=/usr/bin/m-a,ODBC

# su - deltas
[EMAIL PROTECTED]:~$ sudo -l

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password:

and it hangs there. And it doesn't make any sense imho.
As you see, seems it WFY (Works For You) but is BFM (Broken For Me).


thanx
regards
-- 
 paolo
 
 GPG/PGP id:0x3A47DE45  - B5F9 AAA0 44BD 2B63 81E0  971F C6C0 0B87 3A47 DE45



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to