Re: migration from FreeBSD 4.4 to Debian 2.2r4
OK. It will be easy if Linux use md5 password. But, if my Linux does not use md5 and is about to migrate to md5 for easier account migration, how can I do in Debian 2.2r4? Thanks. -- Patrick Hsieh--<[EMAIL PROTECTED]>
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, 2 Dec 2001, Patrick Hsieh wrote: > If I don't want to use MD5 in my linux box, is it possible to migrate > the account/password? > > > How can I transfer the account/password from FreeBSD to Debian? > > > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > > > Debian default does not. In this case, how can I migrate the > > > account/password from FreeBSD to Linux? Is there any thing I should keep > > > in mind? If your original passwords are in MD5, but you don't want to use MD5 then you are out of luck. (Unless you want to waste a lot of time running some password crackers.) In addition, the BSD master.passwd file is a different format than the Linux shadow + passwd file. You will need to convert this over. Look at the relevant manual pages. If you really don't want to use MD5 for your shadow file, then you can write some login/pop3d/whatever code that grabs the plain-text password (compares the MD5) and then regenerates a new hash. (For your information, I have moved BSD master.passwd files to Linux a few times. And also from Linux to BSD.) Jeremy C. Reed http://www.reedmedia.net/ http://bsd.reedmedia.net/ -- BSD news and resources http://www.isp-faq.com/-- find answers to your questions
Re: migration from FreeBSD 4.4 to Debian 2.2r4
OK. It will be easy if Linux use md5 password. But, if my Linux does not use md5 and is about to migrate to md5 for easier account migration, how can I do in Debian 2.2r4? Thanks. -- Patrick Hsieh--<[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, 2 Dec 2001, Patrick Hsieh wrote: > If I don't want to use MD5 in my linux box, is it possible to migrate > the account/password? > > > How can I transfer the account/password from FreeBSD to Debian? > > > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > > > Debian default does not. In this case, how can I migrate the > > > account/password from FreeBSD to Linux? Is there any thing I should keep > > > in mind? If your original passwords are in MD5, but you don't want to use MD5 then you are out of luck. (Unless you want to waste a lot of time running some password crackers.) In addition, the BSD master.passwd file is a different format than the Linux shadow + passwd file. You will need to convert this over. Look at the relevant manual pages. If you really don't want to use MD5 for your shadow file, then you can write some login/pop3d/whatever code that grabs the plain-text password (compares the MD5) and then regenerates a new hash. (For your information, I have moved BSD master.passwd files to Linux a few times. And also from Linux to BSD.) Jeremy C. Reed http://www.reedmedia.net/ http://bsd.reedmedia.net/ -- BSD news and resources http://www.isp-faq.com/-- find answers to your questions -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, Dec 02, 2001 at 05:42:10PM +0800, Patrick Hsieh wrote: > Hello, > > If I don't want to use MD5 in my linux box, is it possible to migrate > the account/password? Actually... I'm wanting to do the oposite... I want to migrate from crypt shadow passwords to md5sum passwords in LDAP. Any hints on the best way to do this? I'm thinking I could have some fancy PAM setup that accepts crypt and md5sum passwords, and updates from crypt to md5sum whenever someone changes their passwd. Alternatively I could use some crypt-then-md5sum wierd thing where the passwds are crypted then md5sumed... this would make it md5sum secure strait away without having to wait for people to change their passwd to update it. I'm only just thinking about it at this stage, but are there any traps with LDAP and shadow stuff? -- -- ABO: finger [EMAIL PROTECTED] for more info, including pgp key --
Re: migration from FreeBSD 4.4 to Debian 2.2r4
Hello, If I don't want to use MD5 in my linux box, is it possible to migrate the account/password? > On Sun, 2 Dec 2001, Patrick Hsieh wrote: > > > Hello list, > > > > My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. > > A couple of minutes of downtime is acceptable, but my core problem is: > > > > How can I transfer the account/password from FreeBSD to Debian? > > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > > Debian default does not. In this case, how can I migrate the > > account/password from FreeBSD to Linux? Is there any thing I should keep > > in mind? > > During Debian installation you are given the choice to use MD5 passwords > or not. > > Brian > [EMAIL PROTECTED] > > "You can't depend on your judgement when your imagination > is out of focus." -- Mark Twain -- Patrick Hsieh <[EMAIL PROTECTED]>
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, Dec 02, 2001 at 05:42:10PM +0800, Patrick Hsieh wrote: > Hello, > > If I don't want to use MD5 in my linux box, is it possible to migrate > the account/password? Actually... I'm wanting to do the oposite... I want to migrate from crypt shadow passwords to md5sum passwords in LDAP. Any hints on the best way to do this? I'm thinking I could have some fancy PAM setup that accepts crypt and md5sum passwords, and updates from crypt to md5sum whenever someone changes their passwd. Alternatively I could use some crypt-then-md5sum wierd thing where the passwds are crypted then md5sumed... this would make it md5sum secure strait away without having to wait for people to change their passwd to update it. I'm only just thinking about it at this stage, but are there any traps with LDAP and shadow stuff? -- -- ABO: finger [EMAIL PROTECTED] for more info, including pgp key -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migration from FreeBSD 4.4 to Debian 2.2r4
Hello, If I don't want to use MD5 in my linux box, is it possible to migrate the account/password? > On Sun, 2 Dec 2001, Patrick Hsieh wrote: > > > Hello list, > > > > My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. > > A couple of minutes of downtime is acceptable, but my core problem is: > > > > How can I transfer the account/password from FreeBSD to Debian? > > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > > Debian default does not. In this case, how can I migrate the > > account/password from FreeBSD to Linux? Is there any thing I should keep > > in mind? > > During Debian installation you are given the choice to use MD5 passwords > or not. > > Brian > [EMAIL PROTECTED] > > "You can't depend on your judgement when your imagination > is out of focus." -- Mark Twain -- Patrick Hsieh <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, 2 Dec 2001, Patrick Hsieh wrote: > Hello list, > > My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. > A couple of minutes of downtime is acceptable, but my core problem is: > > How can I transfer the account/password from FreeBSD to Debian? > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > Debian default does not. In this case, how can I migrate the > account/password from FreeBSD to Linux? Is there any thing I should keep > in mind? During Debian installation you are given the choice to use MD5 passwords or not. Brian [EMAIL PROTECTED] "You can't depend on your judgement when your imagination is out of focus." -- Mark Twain
migration from FreeBSD 4.4 to Debian 2.2r4
Hello list, My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. A couple of minutes of downtime is acceptable, but my core problem is: How can I transfer the account/password from FreeBSD to Debian? I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while Debian default does not. In this case, how can I migrate the account/password from FreeBSD to Linux? Is there any thing I should keep in mind? Thanks. -- Patrick Hsieh <[EMAIL PROTECTED]>
Re: migration from FreeBSD 4.4 to Debian 2.2r4
On Sun, 2 Dec 2001, Patrick Hsieh wrote: > Hello list, > > My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. > A couple of minutes of downtime is acceptable, but my core problem is: > > How can I transfer the account/password from FreeBSD to Debian? > I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while > Debian default does not. In this case, how can I migrate the > account/password from FreeBSD to Linux? Is there any thing I should keep > in mind? During Debian installation you are given the choice to use MD5 passwords or not. Brian [EMAIL PROTECTED] "You can't depend on your judgement when your imagination is out of focus." -- Mark Twain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
migration from FreeBSD 4.4 to Debian 2.2r4
Hello list, My company has a plan to migrate a FreeBSD 4.4 to Debian 2.2r4. A couple of minutes of downtime is acceptable, but my core problem is: How can I transfer the account/password from FreeBSD to Debian? I may be wrong, but I remember FreeBSD uses MD5 passwd encryption while Debian default does not. In this case, how can I migrate the account/password from FreeBSD to Linux? Is there any thing I should keep in mind? Thanks. -- Patrick Hsieh <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]