[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with 'pwd_mkdb' when trying to reset user's password to zero value



I narrowed down the problem:

I was reminded (thanks a lot, Brad) to put 'PermitEmptyPasswords yes'
in sshd_config.

I created a user with a normal password, then reset the password to
zero value with vipw.

Now:
If 'PermitEmptyPasswords' is set to 'yes', then I can login with empty
password, which basically solves my problem.

If 'PermitEmptyPasswords' is set to 'no', than I can login only with
previously used password and I can not find any way to delete it
completely from the system, can only change it to non-zero value.

What is the reason for keeping the old password? Is there any way to
delete it?