Personally I think using the operating system tools (useradd) is probably
the safest way to add a user minus from manually editing passwd,group files
and manually creating the directory yourself.

-----Original Message-----
From: Brian McGraw
To: [EMAIL PROTECTED]
Sent: 2/18/03 1:35 PM
Subject: safest way to create user accounts?

Hello list,

What would be the safest way to create user accounts on a 2.4.x Linux
system with perl. Currently, I'm running a script that feeds options to
'useradd', but it is a very sloppy method. The only reason i don't do
this by hand is often several accounts need to be created at once, user,
Samba, Netatalk, etc, and many employees are seasonal, so changes are
frequent. 

Thanks for the help,
Brian

Reply via email to