Re: Import 24,000 users

From: justin.bleistein@SUNGARD.COM
Date: Tue Aug 13 2002 - 15:44:07 EDT


I wrote a "mkuser" script like you did and was able to create about "3000"
users on my test AIX system. This is the errors I get. Is this something
that you're seeing like:

# passwd 4000
Changing password for "4000"
4000's New password:
Enter the new password again:
# su 4000
3004-503 Cannot set process credentials.
# su 4000
3004-503 Cannot set process credentials.
# login
Jon's System
4000
4000's Password:
3004-610 You are required to change your password.
        Please choose a new one.

4000's New password:
Enter the new password again:
3004-010 Failed setting terminal ownership and mode.
Connection closed.

I'll continue to see if I can find a solution.

Thanks,

--Justin

                      -ray
                      <ray@OPS.SELU.EDU To: aix-l@Princeton.EDU
> cc:
                      Sent by: IBM AIX Subject: Import 24,000 users
                      Discussion List
                      <aix-l@Princeton.
                      EDU>

                      08/13/2002 02:32
                      PM
                      Please respond to
                      IBM AIX
                      Discussion List

All,

I am in the early stages of planning the migration our email system from
PMDF on VMS to Sendmail on AIX. This means i will have to batch add about
24,000 users on AIX. Has anyone done this before? I'm looking for a few
pointers...

I tried a big mkuser script. But when the /etc/group line exceeds 2048,
mkusers start failing. Any workaround for this, besides having multiple
lines for the same group? Is there a way to just not add users to
/etc/group? I tinkered with /usr/lib/security/mkuser.default with no
luck.

I also tried another technique of just creating /etc/passwd manually.
Then do usrck -y ALL to create /etc/security stanza's. However this also
started failing after a few thousand users... haven't figure out why.

Any other ideas? Also can someone explain the /etc/security/.ids format
on AIX 5.1?

I am pretty experienced with Unix/AIX, but admittedly have never dealt
with this many users on one system. Any pointers/gotchas are greatly
appreciated!!

-Ray

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean                                       http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist              AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:08 EDT