Installing winbind causes sudo to behave weird on SIGINT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
With winbind installed I cannot abort a sudo password request (gnome-terminal and VT) with a single Ctrl-C key combo. Instead the password prompt is shown again. Pushing either Ctrl-C a second time or the enter key brings me back to the prompt:
test@box:~$ sudo echo "foo"
[sudo] password for test: // Ctrl-C
[sudo] password for test: // Ctrl-C or enter key
test@box:~$
For clarification: the second password request doesn't seem to be a retry - no matter what I type, as soon as I hit the enter key I'm back at the prompt.
I've found out that this behavior is caused by the changes made to /etc/pam.
*) common-auth without windbind:
auth [success=1 default=ignore] pam_unix.so nullok_secure
auth requisite pam_deny.so
auth required pam_permit.so
*) common-auth with winbind installed:
auth [success=2 default=ignore] pam_unix.so nullok_secure
auth [success=1 default=ignore] pam_winbind.so krb5_auth krb5_ccache_
auth requisite pam_deny.so
auth required pam_permit.so
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: winbind 2:3.4.7~
ProcVersionSign
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelMo
Architecture: i386
Date: Fri Apr 16 18:50:28 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageV
nautilus 1:2.30.0-0ubuntu4
gvfs 1.6.0+git201004
SambaClientRegr
SourcePackage: samba
description: | updated |
Changed in samba (Ubuntu): | |
status: | Incomplete → New |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.
Please include the information requested at https:/ /wiki.ubuntu. com/DebuggingSa mba#samba- client.