Date: Sun, 13 Feb 2000 17:46:57 -0500 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: "Andrew L. Neporada" <andrew@chg.ru> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MD5 and DES passwords maximum lenght Message-ID: <20000213174656.G31722@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.BSF.4.21.0002130245330.16787-100000@sign.chg.ru>; from andrew@chg.ru on Sun, Feb 13, 2000 at 03:04:07AM %2B0300 References: <Pine.BSF.4.21.0002130245330.16787-100000@sign.chg.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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?20000213174656.G31722>