Package: sudo
Version: 1.6.9p17-2
Severity: important

I seem to have come across a very strange bug in sudo,  I have the
following rule in my sudoers file:

   testaccount               ALL     = NOPASSWD: /upgradetmp/*

Now, if /upgradetmp ONLY has one file in it (foo.sh), 'sudo
/upgradetmp/foo.sh' will prompt for a password and then state the you
don't have permission to run that command.  The strange part is, if I
'cp /upgradetmp/{foo.sh,bar.sh}' and then run the same sudo command,
everything works!?!?

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (1001, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-permabit1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=sh: locale: command not found)
Shell: /bin/sh linked to /bin/bash

Versions of packages sudo depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libpam-modules            1.0.1-5+lenny1 Pluggable Authentication Modules f
ii  libpam0g                  1.0.1-5+lenny1 Pluggable Authentication Modules l

sudo recommends no packages.

sudo suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to