Operating System - HP-UX
1835200 Members
2330 Online
110077 Solutions
New Discussion

adding users via a passwd file

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

adding users via a passwd file

Having a not so good day:

Got a passwd file and I need to add the users to another system. I am having trouble with the comment field and basically all of the fields in general.

Any help available?

Many thanks
3 REPLIES 3
jherring
Regular Advisor

Re: adding users via a passwd file

Not sure what kind of trouble you are having but maybe pwck will help.

Steven E. Protter
Exalted Contributor
Solution

Re: adding users via a passwd file

You should be able to modify this hack and do it:

kudos to Pete Randall for providing the original.

This script needs work. I use it for different purposes every time I use it and it has lots of commented examples. Its poorly documented. Thats a charitable asssessment.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Todd McDaniel_1
Honored Contributor

Re: adding users via a passwd file

I also have one that I used for addin users to several systems fairly simple...

Unix, the other white meat.