Toggling single/double length shadow passwords

Toggling single/double length shadow passwords

Post by Borries Demeler/Biophysi » Fri, 14 Jan 1994 06:25:44



I am running SLS 1.03 (0.99p14) with shadow passwords enabled.
I have a problem with ftpd and pop3d not being able to recognize
the passwords given, although telnetd has no problem with it.
Someone on this list mentioned that it could be because I have
double-length passwords enabled in shadow.

1. How do I toggle to single length passwords?

2. How can I disable shadow passwords?

3. Is there any way to transfer/convert passwords from the previous
setup to the new setup without having all users on my Linux box
enter a new password?

Thanks in advance, -Borries

 
 
 

Toggling single/double length shadow passwords

Post by Herbert » Tue, 18 Jan 1994 09:46:10


: I am running SLS 1.03 (0.99p14) with shadow passwords enabled.
: I have a problem with ftpd and pop3d not being able to recognize
: the passwords given, although telnetd has no problem with it.
: Someone on this list mentioned that it could be because I have
: double-length passwords enabled in shadow.

: 1. How do I toggle to single length passwords?

You don't have to do it, you only need to set all your passwords' length
to less than or equal to 8.

: 2. How can I disable shadow passwords?

To do that, you need to get the binaries (or to compile the source without
shadow password enabled) of things like su, login, password, etc.

: 3. Is there any way to transfer/convert passwords from the previous
: setup to the new setup without having all users on my Linux box
: enter a new password?

Login as root, then write a simple shell script to move the encrypted
passwords in /etc/shadow to /etc/passwd.

: Thanks in advance, -Borries

Herbert