Userid Format

Userid Format

Post by mdgab.. » Thu, 10 Jun 1999 04:00:00



I'm having difficulty automating the process of adding userids.
Admintool is nice, but I need to perform several tasks for many users.
My problem is with 'useradd' in that it warns me when a logonid starts
with a number, but does add to the passwd file. However, when I put the
'useradd' in a script, it fails to add.

How can I force the userid to be added? Can I change the format checking
to always allow the logonid to start with a number?

This is a problem as our userids are a 5 digit number (payroll number)
followed by initials.

TIA
Mike Gabriel

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.