Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 1999 20:36:47 -0700 (PDT)
From:      Vincent Poy <vince@venus.GAIANET.NET>
To:        cjclark@home.com
Cc:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: FreeBSD 3.3-RELEASE passwd issue
Message-ID:  <Pine.BSF.4.05.9910222035001.5072-100000@venus.GAIANET.NET>
In-Reply-To: <199910222337.TAA33777@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Oct 1999, Crist J. Clark wrote:

> Vincent Poy wrote,
> > Greetings,
> > 
> > 	I installed a new machine on 3.3-RELEASE and copied the passwords
> > entries from another 3.2-RELEASE machine.  I installed des on both
> > machines but for some odd reason, the following as a example will not be
> > recognized on the 3.3-RELEASE machine in /etc/master.passwd as a valid
> > password while it worked fine when I copied it from 3.1-RELEASE, -CURRENT
> > and even 2.2.x machines.
> > 
> > vince:7G2DAweJ1/D8c:1001:0::0:0:Vincent Poy,,,:/home/vince:/usr/local/bin/tcsh
> 
> OK, this is a typical DES 13 character password.
>
> > 	So I had to run passwd on each user to manually do the passwords
> > resulting that the passwords are DES as shown below:
> > 
> > vince:$1$I1DcF26E$/qf90HbgJHM3vhqDbu1Pl/:1001:0::0:0:Vincent Poy,,,:/home/vince:/usr/local/bin/tcsh
> 
> This is not a DES password. This is an MD5 password.
> 
> > 	Seems that the DES package can't read MD5 passwords like it can in
> > older releases.  Anyone have any ideas what I'm doing wrong?  
> 
> No, it looks to me like you have it backwards, that you really did not
> install DES on this system.

	Really?  It seems to be the other way around... Maybe I may have
remembered it wrong but I thought the one with $ was DES.  Anyways, I
downloaded the des and did sh install.sh and installed and it works fine
after copying the old passwords over but passwd generates $ format
passwords and I'm sure I have DES because of the following:

-r--r--r--  1 root  wheel  53118 May 17 17:41 /usr/lib/libdes.a
lrwxrwxrwx  1 root  wheel     11 Oct 21 16:37 /usr/lib/libdes.so ->
libdes.so.3
-r--r--r--  1 root  wheel  35678 May 17 17:41 /usr/lib/libdes.so.3
-r--r--r--  1 root  wheel  56608 May 17 17:41 /usr/lib/libdes_p.a
-r--r--r--  1 root  wheel  13018 May 17 17:37 /usr/lib/libdescrypt.a
lrwxrwxrwx  1 root  wheel     16 Oct 21 16:37 /usr/lib/libdescrypt.so ->
libdescrypt.so.2
-r--r--r--  1 root  wheel  12965 May 17 17:37 /usr/lib/libdescrypt.so.2
-r--r--r--  1 root  wheel  14750 May 17 17:37 /usr/lib/libdescrypt_p.a


Cheers,
Vince - vince@MCESTATE.COM - vince@GAIANET.NET           ________   __ ____ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
GaiaNet Corporation - M & C Estate                     / / / /  | /  | __] ]  
Beverly Hills, California USA 90210                   / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910222035001.5072-100000>