[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

su logout gives 5 seconds 100% kernel time CPU load

From: Jason McManus
Subject: su logout gives 5 seconds 100% kernel time CPU load
Date: Fri, 15 Mar 2002 02:17:18 -0800
User-agent: Mutt/1.2.5i

Hi there,

I'm posting regarding a strange issue related to su (GNU sh-utils) 2.0.11.
When running su and switching to another user (root or any other account),
upon logging out, it gives me about a 5 second delay, utilizing 100% kernel
time CPU load, before returning to the prior shell.  I have attempted to run
strace on it and direct the output to a file, but it refuses to accept my 
password when doing so (likely a security precaution), so I'm unsure what
is causing the delay.  It also only seems to do this when running under 
X (Eterm, aterm, and xterm all exhibit the same behaviour), as when I 
switch to a console or login over the network (or even localhost) this 
does not occur.

I am running a heavily upgraded RedHat 7.1 machine on a Sony VAIO z505-ls
notebook.  The only possible related change I have made since this behaviour
started appearing was a somewhat major change, upgrading the kernel to
2.4.19-pre3-ac1.  Upon restart, this issue began appearing.

su is configured to run via PAM, with the contents of /etc/pam.d/su being:
auth       sufficient   /lib/security/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel"
#auth       sufficient   /lib/security/pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth       required     /lib/security/pam_wheel.so use_uid
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_xauth.so

Any help would be greatly appreciated.  While only a somewhat minor
annoyance, I have been unable to come up with a solution, nor has anyone I
have consulted about the issue.

Thanks very much,
Jason McManus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]