SUMMARY: slow useradd on solaris 2.6

From: Aleksandar Milivojevic (
Date: Mon Oct 05 1998 - 13:13:08 CDT

Many thanks to:

James Wendling <>
Jim McVey <>
Rik Schneider <>
Rick Lantaigne <>

The solution was to install patch 105397-02.

The original question was:

> Recently I upgraded one of our servers from Solaris 2.5.1 to Solaris
> 2.6. After upgrading useradd command become very slow. It takes up
> to 10 minutes to add a single user on an almost idle Ultra Enterprise
> 3000.
> It seems that useradd calls passmgmt program which copies passwd and
> shadow files into ptmp and stmp, and this coping takes ages to finish.
> Passwd and shadow files have more than 10000 entries. All recommended
> patches are installed on the system. Nscd daemon is running with
> default configuration.
> Does anybody else have this problem, and is there any other solution
> other than writing my own useradd program or waiting for patches
> (assuming problem is not cosed by me misconfiguring something)?

Aleksandar MilivojeviŠ   |  |
                  Opinions expressed herein are my own.
  Real Users never know what they want, but they always know when your
                       program doesn't deliver it.

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT