10 Feb
2003
10 Feb
'03
14:10
On Tue, 11 Feb 2003 00:02:22 +1100
Graham Smith
On Mon, 10 Feb 2003 22:07, Dan Am wrote:
Am Montag, 10. Februar 2003 10:39 schrieb pd3@luukku.com:
Can I use YaST2 when I need to add many users at once,
Yes , if you love boring, repetive actions.
or is it better to user some script, I am sure there are some around. or should I write my own script?
for i in $(cat file_with_usernames) do useradd -m $i done
with your adjustments as neccesary.
A Batch Job to Add New User IDs http://linux.oreillynet.com/lpt/a//linux/2002/05/09/uid.html
Also perl has a module for this called UserMod. Go to http://cpan.org and search for UserMod. -- use Perl; #powerful programmable prestidigitation