[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Debian /etc/shadow -> RAQ4 /etc/shadow
- Subject: Re: [cobalt-users] Debian /etc/shadow -> RAQ4 /etc/shadow
- From: Duncan Laurie <duncan@xxxxxxxxxx>
- Date: Tue Nov 14 20:03:20 2000
- Organization: Cobalt Networks, Inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
| I need to pull "traditional" encrypted passwords from a Debian Linux
| /etc/shadow file and convert them to RAQ4 format, which appears to be an
| enhanced encryption. Can anyone point to a quick way of doing this
| without having access to plain-text passwords? Thanks.
You should be able to use both crypt and MD5-digest passwords at the
same time on the raq4.
Glibc can distinguish them because MD5 passwords start with '$1$'.
(followed by 8 bytes of salt, another '$', and then the the 22 bytes
from the base64 MD5 digest) Standard [56-bit] crypt is only
13 ASCII characters long. (2 bytes of salt followed by 11 bytes for
the encrypted password)
The system should allow logins to succeed, and once the password is
changed, either from a shell or the GUI, it will be stored in MD5 form.
-duncan