Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mathias@merlion.singnet.com.sg (Mathias Koerber)
Subject: useradd -batch mode?
Date: 1995/10/07	[thread overview]
Message-ID: <45514n$t8u@lantana.singnet.com.sg> (raw)

Hi,

I am looking into ways to automate account generation. On OSF/1
this gets difficult for 2 main resaons:

	a) the passwords are held in /tcb/auth/files
	b) OSF uses dbm style passwd files for fast lookup.

There is an adduser script, but it is interactive and rebuilds
the dbm file every time, which can take quite some time with a huge
passwd file.

We could just add all users to /etc/passwd and then run mkuser, but
we will still have to change each user's passwd in the tcb.

Has anyone done a batch-style user generation program that makes these
easy and fast?

regards


--
Mathias Koerber                                       mathias@singnet.com.sg
SingNet NOC                                     Mathias_Koerber@POBOX.ORG.SG
Singapore Telecoms
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht was Leiden schafft *



             reply	other threads:[~1995-10-07  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-07  4:00 Mathias Koerber [this message]
1995-10-08  4:00 ` useradd -batch mode? Brian Weaver
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox