On Sun, Jul 27, 2008 at 8:03 PM, Simon 'corecode' Schubert
<[EMAIL PROTECTED]> wrote:
> Nuno Antunes wrote:
>>    Note that even with this fix, inserting the correct password after the
>>  autologout timer expires will only unlock the session for the root
>>  user (i don't know why). Any other user will not get its password
>>  accepted as correct, but at least it won't crash.
>
> Could this be a PAM/master.passwd artifact?  How should a non-root zsh be
> able to check the password of the user?  Additionally, tcsh is statically
> linked and thus can't access PAM.
>

>From the same source file, before auto_lock() who calls xgetpass():

/*
 * Ask the user for his login password to continue working
 * On systems that have a shadow password, this will only
 * work for root, but what can we do?
 *
 * If we fail to get the password, then we log the user out
 * immediately
 */

Cheers,
Nuno

Reply via email to