moving users to new puter
Hello! I'm moving all lusers from old server to new. What files and directories I need to copy? /usr/home of course and /etc/passwd and /etc/group. But where are actually passwords stored? group and passwd only show * in password space. And is there something else to remember? -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: moving users to new puter
Hi Perttu, Sunday, January 23, 2005, 11:10:19 AM, you wrote: Hello! I'm moving all lusers from old server to new. What files and directories I need to copy? /usr/home of course and /etc/passwd and /etc/group. But where are actually passwords stored? group and passwd only show * in password space. And is there something else to remember? /etc/master.passwd, but then you need to run also pwd_mkdb /etc/master.passwd on new mashine.. -- Best Regards, +--==/\/\==--+ (__) FreeBSD | DanGer [EMAIL PROTECTED] |\\\'',) The | [EMAIL PROTECTED] ICQ261701668 | \/ \ ^Power | http://danger.homeunix.org | .\._/_)To +--==\/\/==--+ Serve [ Bill Gates at Comdex '89: OS/2 is the Operating System of the '90's. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: moving users to new puter
On Sun, 23 Jan 2005, Perttu Laine wrote: I'm moving all lusers from old server to new. What files and directories I need to copy? /usr/home of course and /etc/passwd and /etc/group. In addition to those, I'd want to hold on to /etc/printcap, /etc/ntp.conf and /var/mail. /etc/hosts too, if you're using it. Basically anything from /etc that you've customized that isn't machine-specific. Possibly some things from /usr/local/etc as well, depending on your application. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
Excellent! Thanks Ruben. Cheers, Richard On Mon, 16 Jun 2003, Ruben de Groot wrote: On Mon, Jun 16, 2003 at 02:40:02PM +1000, Richard Beyer typed: Hi, I need to move users from one machine to another and keep their passwords intact. I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. Have you rebuild the password database after modifying master.passwd ? pwd_mkdb /etc/master.passwd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
Richard Beyer wrote: Excellent! Thanks Ruben. Cheers, Richard On Mon, 16 Jun 2003, Ruben de Groot wrote: On Mon, Jun 16, 2003 at 02:40:02PM +1000, Richard Beyer typed: [snip]I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. Have you rebuild the password database after modifying master.passwd ? pwd_mkdb /etc/master.passwd Instead of editing master.passwd directly, you might want to consider using vipw instead, which will do both the edit and the password file rebuild, saving your keyboard from wear :) - J ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
reject ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving users
Hi, I need to move users from one machine to another and keep their passwords intact. I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. I've also searched the archive with no luck. Any suggestions appreciated. Thanks, Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving users
On Mon, Jun 16, 2003 at 02:40:02PM +1000, Richard Beyer typed: Hi, I need to move users from one machine to another and keep their passwords intact. I've added a test user to Server-Source and a test user to Server-Destination and copied the password hash from /etc/master.password on Server-Source and pasted it into master.password on Server-Destination, but the login fails. Have you rebuild the password database after modifying master.passwd ? pwd_mkdb /etc/master.passwd I've also searched the archive with no luck. Any suggestions appreciated. Thanks, Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Irrationality is the square root of all evil -- Douglas Hofstadter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]