Problem:
We have password (and shadow) file with more than 13,000 entries
(users) in it.
Useradd, userdel and usermod work very slow on the machine,
it takes > 5 mins to open the account using useradd command,
while from admintool it takes only few seconds to do that.
It looks like really nasty bug, so is there any recommendation
how to patch the problem while official path is released?
Thanks,
=============================================================================
Suggested solutions:
1.Using the official patch:
Patch-ID# 105397-02
Keywords: passmgmt passwd cron useradd
Synopsis: SunOS 5.6: /usr/sbin/passmgmt patch
Date: Nov/26/97
2. Brute force method:
I would write a script to add users by just appending a line to the end
of the file(s).
Then you can automate the addition of many users.
=============================================================================
Solution:
We have obtained an official patch (which I was not aware of) and problem
was solved. Meanwhile, we have been using solution 2, but it is pretty
unhealthy method.
Acknowledgments:
Thanks to Casper Dik <casper@holland.Sun.COM> (who provided right solution)
and Gary Franczyk <gfranczyk@e-one.com>.
Zvonko
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:11 CDT