Re: "bulk" create of 400 users
From: Lew Pitcher (Lew.Pitcher_at_td.com)
Date: 11/29/05
- Next message: Joe: "Re: defining server roles"
- Previous message: Proteus: "Re: two simple questions from a newbie"
- In reply to: Kay: ""bulk" create of 400 users"
- Next in thread: Michael Zawrotny: "Re: "bulk" create of 400 users"
- Reply: Michael Zawrotny: "Re: "bulk" create of 400 users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Nov 2005 08:39:02 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kay wrote:
> Hi all,
>
> I have to "bulk" create 400 users with username/password and home-dirs.
> Username and passwords are available as a textfile in a non-crypted
> format. Does anybody have an idea how to create 400 users with one step?
You could use the newusers(8) command to build all your users in one batch.
The manpage for newusers(8) says:
NEWUSERS(8) NEWUSERS(8)
NAME
newusers - update and create new users in batch
SYNOPSIS
newusers [new_users]
DESCRIPTION
newusers reads a file of user name and cleartext password
pairs and uses this information to update a group of existing
users or to create new users. Each line is in the same format
as the standard password file (see passwd(5)) with the
following exceptions...
- --
Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFDjFn1agVFX4UWr64RAjghAJ0ZN26tw2kGFuuYWvKkWFKG80g3LACZAfgc
4oWbIlMFtuFdyx0+mG62vNw=
=13Wy
-----END PGP SIGNATURE-----
- Next message: Joe: "Re: defining server roles"
- Previous message: Proteus: "Re: two simple questions from a newbie"
- In reply to: Kay: ""bulk" create of 400 users"
- Next in thread: Michael Zawrotny: "Re: "bulk" create of 400 users"
- Reply: Michael Zawrotny: "Re: "bulk" create of 400 users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]