From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b0fb8dccff7b5b40,start X-Google-Attributes: gidfee84,public From: mathias@merlion.singnet.com.sg (Mathias Koerber) Subject: useradd -batch mode? Date: 1995/10/07 Message-ID: <45514n$t8u@lantana.singnet.com.sg>#1/1 X-Deja-AN: 117208107 organization: Singapore Telecom Internet Service newsgroups: comp.unix.osf.osf1 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 *