>Do you have any alternate authentication methods defined in /etc/nsswitch.confThe 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.
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.
Whenever I enter the root password after "su" command, it takes about 13 seconds!! to see the root prompt.