Date: Wed, 25 Apr 2001 15:15:11 -0500 From: Pablo Quintana <quintana@netsys.hn> To: "Gerald T. Freymann" <gerry@eagle.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Password file saved? Message-ID: <5.0.2.1.0.20010425151200.02879bc0@netsys.hn> In-Reply-To: <02e901c0cdc2$c49da870$0f01a8c0@phantom> References: <5.0.2.1.0.20010425133119.00a22760@netsys.hn>
next in thread | previous in thread | raw e-mail | index | archive | help
--=====================_6726392==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Thanks, but how can I tell for sure what type of encryption I'm using, and what is the default for 4.2 R. Second, after putting the master.passwd file back, how do I create users? Are they created automatically with that file? Thanks. At 04:03 p.m. 25/04/01 -0400, you wrote: > > I'm trying to update a FreeBSD 2.2.8 server to 4.2 R. My question is if I > > format the drive and start from scratch, can I save the password file to > > add the users but not retype the passwords? > > take /etc/master.passwd and save it somewhere. Once you format and load >4.2R, put your saved copy of /etc/master.passwd onto the new system then >run: > >pwd_mkdb /etc/master.passwd > > You're probably using DES encryption on 2.2.8 so you'll need to tell the >new box to use that as well. You'll want to add: > >:passwd_format=des:\ > >to the default entry in /etc/login.conf and then run > >cap_mkdb /etc/login.conf (probably in single user mode) > > You may to go over some of the "stock" entries in your original >master.passwd and the new one. I just did the same type of thing last >November on 3 of our machines. I just used the top of the "new" >master.passwd and copied the bottom section of the old master.passwd (minus >the stock entries at at the top). > > > Another question, it is OK to upgrade the binaries from /stand/sysinstall > > to 4.2 R, or it would be better to format the drive? > > I formatted and started over. Actually, we built a new machine so I had >the advantage of having the old machine there in case I forgot to save >something. But if you don't have anything too massive to save and bring >forward, start fresh! > >-Gerry > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message Pablo Quintana Gerente de Servicios Dedicados The NetSys Company San Pedro Sula, Honduras, C. A. Tel. : +504 566-1055 Fax : +504 566-3183 Mobile: +504 991-1847 e-mail: quintana@netsys.hn --=====================_6726392==_.ALT Content-Type: text/html; charset="us-ascii" <html> Thanks, but how can I tell for sure what type of encryption I'm using, and what is the default for 4.2 R.<br> <br> Second, after putting the master.passwd file back, how do I create users? Are they created automatically with that file?<br> <br> Thanks.<br> At 04:03 p.m. 25/04/01 -0400, you wrote:<br> <blockquote type=cite class=cite cite>> I'm trying to update a FreeBSD 2.2.8 server to 4.2 R. My question is if I<br> > format the drive and start from scratch, can I save the password file to<br> > add the users but not retype the passwords?<br> <br> take /etc/master.passwd and save it somewhere. Once you format and load<br> 4.2R, put your saved copy of /etc/master.passwd onto the new system then<br> run:<br> <br> pwd_mkdb /etc/master.passwd<br> <br> You're probably using DES encryption on 2.2.8 so you'll need to tell the<br> new box to use that as well. You'll want to add:<br> <br> :passwd_format=des:\<br> <br> to the default entry in /etc/login.conf and then run<br> <br> cap_mkdb /etc/login.conf (probably in single user mode)<br> <br> You may to go over some of the "stock" entries in your original<br> master.passwd and the new one. I just did the same type of thing last<br> November on 3 of our machines. I just used the top of the "new"<br> master.passwd and copied the bottom section of the old master.passwd (minus<br> the stock entries at at the top).<br> <br> > Another question, it is OK to upgrade the binaries from /stand/sysinstall<br> > to 4.2 R, or it would be better to format the drive?<br> <br> I formatted and started over. Actually, we built a new machine so I had<br> the advantage of having the old machine there in case I forgot to save<br> something. But if you don't have anything too massive to save and bring<br> forward, start fresh!<br> <br> -Gerry<br> <br> <br> <br> To Unsubscribe: send mail to majordomo@FreeBSD.org<br> with "unsubscribe freebsd-questions" in the body of the message</blockquote> <x-sigsep><p></x-sigsep> <font face="Courier New, Courier">Pablo Quintana<br> Gerente de Servicios Dedicados<br> The NetSys Company<br> San Pedro Sula, Honduras, C. A.<br> <br> Tel. : +504 566-1055<br> Fax : +504 566-3183<br> Mobile: +504 991-1847<br> e-mail: quintana@netsys.hn<br> </font></html> --=====================_6726392==_.ALT-- 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?5.0.2.1.0.20010425151200.02879bc0>