Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 16:56:16 +0100
From:      "Jonathan" <jonathan@sirtis.org.uk>
To:        <David.Bear@asu.edu>, <freebsd-questions@freebsd.org>
Subject:   RE: batchmode adding user accounts
Message-ID:  <007b01c30a7a$09b79560$3aaa9bd9@workstation>
In-Reply-To: <20030423222836.A28992@asu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of David Bear
Sent: 24 April 2003 06:29
To: freebsd-questions@freebsd.org
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 http://www.openbsd.org/faq/faq9.html#passwd to migrate. Works
great.

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.

Regards,

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c30a7a$09b79560$3aaa9bd9>