Hi,
Try
# ktrace passwd username
# kdump -f ktrace.out
You can find out where the process stuck
Regards
SSR
From: Greg Goodman <[EMAIL PROTECTED]>
Reply-To: Greg Goodman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Passwd command slow
Date: Tue, 30 Sep 2003 17:51:50 -0700
Hello Everyone,
I
Greg Goodman wrote:
I have a server running freebsd 4.8.
When you type the command "passwd" it hangs for more than 2 minutes
before it finally responds and prompts to change an existing users
password.
Can anyone shed some light on this issue?
That sounds a lot like an NIS timeout. Are you using N
If you have a large password file, increase the cache size of pwd_mkdb
cd /usr/src/usr.sbin/pwd_mkdb
edit pwd_mkdb.c
On line 74 you see
HASHINFO openinfo = {
4096, /* bsize */
32, /* ffactor */
256,/* nelem */
2048 * 1024,/* c