batchmode adding user accounts

Jonathan jonathan at
Thu Apr 24 08:55:50 PDT 2003

-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of David Bear
Sent: 24 April 2003 06:29
To: freebsd-questions at
Subject: batchmode adding user accounts

I have migrated a linux box to freebsd.  I would like to add all the
user accounts from linux to bsd but the format of /etc/passwd vs
master.password is problematic. 

what I would like to try is pull out the user id from my old passwd file
and somehow batchmode add them to my new system.  I can use awk to get
the old ids.  But is there utility that will accept a list of user ids
to add to master.password?

-----End of Original Message-----

I used to migrate. Works

Another thing that's useful for merging existing servers together -
Linux provides "usermod" which will allow you to change the UID/GID for
a user to save clashes.



More information about the freebsd-questions mailing list