Date: Fri, 24 Sep 2004 15:55:54 -0000 From: Jonathan Chen <jonc@chen.org.nz> To: dwbear75@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: batchmode adding user accounts Message-ID: <20030424061501.GC86252@grimoire.chen.org.nz> In-Reply-To: <20030423222836.A28992@asu.edu> References: <20030423222836.A28992@asu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 23, 2003 at 10:28:36PM -0700, David Bear wrote:
> 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?
pw(8) is your friend.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
Power corrupts, Absolute Power is pretty neat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424061501.GC86252>
