Your message dated Mon, 31 Aug 2009 12:52:47 -0600 (MDT)
with message-id <[email protected]>
and subject line implemented as -n
has caused the Debian Bug report #258013,
regarding needs --nopasswordprompt for non-interactive use
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
258013: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=258013
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sudo
Version: 1.6.7p5-1
Severity: wishlist
Hi,
I frequently use sudo for passwordless privilege escalation in
non-interactive processes. This usually works fine. However, when
there is something wrong with the sudoers file, the process hangs
indefinetely while sudo is waiting for a password to be entered.
sudo either needs a --nopasswordprompt switch which should make sudo
fail immediately if the command invoked does not match a NOPASSWD
entry, or it needs a maximum time it will wait for a password before
failing automatically.
Greetings
Marc
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-janeway
Locale: LANG=C, LC_CTYPE=C
Versions of packages sudo depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam0g 0.76-22 Pluggable Authentication Modules l
-- no debconf information
--- End Message ---
--- Begin Message ---
Modern versions of sudo include the '-n' (non-interactive) option, which
prevents sudo from prompting the user for a password. With this option,
if a password is required for the command to run, sudo will display an error
message and exit immediately.
Enjoy!
Bdale
--- End Message ---