tags 407497 unreproducible
thanks

Quoting Jan Braun ([EMAIL PROTECTED]):
> Package: passwd
> Version: 1:4.0.18.1-6
> Severity: normal
> 
> Hi,
> I had upgrades of logcheck and sash fail because they use chfn and chsh
> (respectively) in their postinst script, and these ask for a password
> even when invoked by root.
> This causes a hang since the postinst script doesn't seem to be in
> control of the terminal, and I can't enter anything at all; the only
> way out is killing chsh/chfn from another console. But even without
> that, I'd probably confused by a Password: prompt expecting a root
> password in the middle of a "sudo aptitude upgrade" run.

Could you send your /etc/pam.d/chsh and /etc/pam.d/chfn files?

It's pretty likely that you're missing the following in these:

# This allows root to change user shell without being
# prompted for a password
auth            sufficient      pam_rootok.so

On my system, using the default provided PAM config files:



[EMAIL PROTECTED]:~> chsh --shell /bin/sh spongebob
[EMAIL PROTECTED]:~>  


Attachment: signature.asc
Description: Digital signature

Reply via email to