correct way to move users?
After my debacle with the PAE kernel, I am building the mail server anew. I had used webmin's user batch file thing to generate the users on the temporary system, but there were some issues with that. If I have a good copy of /etc/passwd, /etc/group and /etc/master.passwd, is there a better way to move the users? I saw a very breif website that said to use this method: Move user entries from the following old files: /etc/passwd/etc/group/etc/master.passwd Then run the following command to rebuild the password database: pwd_mkdb -p /etc/master.passwd Is this the proper way? If not, what is the correct way to do this with Freebsd (7.0)? Thank you, Brad _ Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: correct way to move users?
I saw a very breif website that said to use this method: Move user entries from the following old files: /etc/passwd/etc/group/etc/master.passwd Then run the following command to rebuild the password database: pwd_mkdb -p /etc/master.passwd i usualy copy the passwd, master.passwd and the group file. keep in mind that new users and/or groups can appear in newer versions, if you're also upgrading. and then pwd_mkdb /etc/master.passwd (i've never used the -p option but why not). and then rsync the homedirs. OK, I found a couple users on the 'new' system that are not on the old system. 'messagebus' and 'polkit'. Can I just copy those users/lines to the old master.passwd and run that? Or should I add them to both the master.passwd as well as the passwd files? Thanks for your reply. _ Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org