Mailinglist Archive: opensuse (2234 mails)
| < Previous | Next > |
[SLE] Mass useradd & password assignment
- From: LinuxAdvocate@xxxxxxxxx (George Toft)
- Date: Sun, 12 Sep 1999 14:12:34 -1000
- Message-id: <99091214174509.00595@hawaii>
I need to add 25 users to a machine. I have this script to add the users, but
how do I initilize their passwords without manually entering each user/password?
-------------------------------
#!/bin/bash
useradd -g ics-184 user1
useradd -g ics-184 user2
useradd -g ics-184 user3
useradd -g ics-184 user4
useradd -g ics-184 user5
[snip]
-------------------------------
(User's names have been changed.)
Thanks in advance.
--
George Toft http://gtoft.dynip.com
Hawaii Pacific University MSIS Graduate Student
"Investigating the Relationship Between the Total Cost of
Ownership, Organization Size, Industry, Workgroup Size,
And the Perception of Value for Workgroup Servers."
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
| < Previous | Next > |