>Do you have any alternate authentication methods defined in /etc/nsswitch.conf

The file loos like:

passwd:     files
shadow:     files
group:      files

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus


>No it usually means you have a high IO wait or your CPU cores are nearly maxed  out.
No there is no io wait at that time. I test it.

 
Regards,
Mahmood



From: Steven C Timm <[log in to unmask]>
To: Paul Robert Marino <[log in to unmask]>; Mahmood Naderan <[log in to unmask]>; scientific-linux-users <[log in to unmask]>
Sent: Sunday, June 2, 2013 9:10 PM
Subject: RE: long time to login as root

Do you have any alternate authentication methods defined in /etc/nsswitch.conf
Such as NIS? That can make things take a while.  It will look at NIS even for the root account.
 
Steve
 
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Paul Robert Marino
Sent: Sunday, June 02, 2013 7:45 AM
To: Mahmood Naderan; scientific-linux-users
Subject: Re: long time to login as root
 
No it usually means you have a high IO wait or your CPU cores are nearly maxed  out. Note heavy reliance on swap space due to insufficient ram can cause high IO wait too.


-- Sent from my HP Pre3
 

On Jun 2, 2013 5:26 AM, Mahmood Naderan <[log in to unmask]> wrote:
Hi
Whenever I enter the root password after "su" command, it takes about 13 seconds!! to see the root prompt.
Is that normal?
 
Regards,
Mahmood