Date: Mon, 14 Feb 2000 11:20:29 +0300 (MSK) From: "Andrew L. Neporada" <andrew@chg.ru> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MD5 and DES passwords maximum lenght Message-ID: <Pine.BSF.4.21.0002141108410.30821-100000@sign.chg.ru> In-Reply-To: <20000213174656.G31722@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Feb 2000, Crist J. Clark wrote: > On Sun, Feb 13, 2000 at 03:04:07AM +0300, Andrew L. Neporada wrote: > > Hi! > > Ocassional installation of DES distribution (through > > Configure->Distributions->DES in /stand/sysinstall) seems to limit my > > passowrds to eight symbols. Is it right? It seems to me that there is no > > such limit in default encrypting scheme (MD5). What should I do to restore > > MD5 encryption? (I suppose that 8 symbols is quite enough, but my pass is > > longer ;-) > > > > Thanks in advance for any input and sorry for my English! > > Yes, in DES passwords, only the first eight characters are > significant. If your password is longer, the extra characters are > simply ignored, so you do not _need_ to change to MD5. > > However, if you still want to, you need to either (1) swap the > symbolic links from libcrypt* from libdescrypt* to libscrypt* or (2) > insert a "dummy" MD5 password into the master.passwd file (using > vipw). In either case imediately use the passwd(1) command to reset > the password to the right type. > -- > Crist J. Clark cjclark@home.com > Thank you! I swaped symlinks, so new passwords are MD5 encrypted now. BTW, what do you mean under `"dummy" MD5 password`? Is it just an empty password record? -- Andrew. 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.21.0002141108410.30821-100000>