Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70937 - Su - delay (17-30 seconds) in X
Summary: Su - delay (17-30 seconds) in X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://dev.gentoo.org/~robbat2/satans...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 02:12 UTC by Brian Leitch
Modified: 2004-11-21 11:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Leitch 2004-11-12 02:12:28 UTC
Changing from regular user to root with su - has a delay time of minimum 17 seconds after the password is entered. Running Enlightenment on Gentoo-2.6.9, but the problem is also reproducible in TWM, with Eterm and Xterm on both E and TWM. There is no delay in switching from user to root in a virtual console (text).
Strace su - output is posted on the website. I can log into root with the delay, but when running strace, I get kicked back to regular user with what looks to be an incorrect password error. (The password is in fact correct, replaced w/ ROOTPASSWORD for my own security.) 
Additional:
ls -l /bin/su gives:
-rwsr-xr-x 1 root root 21988 Nov 2 16:37 /bin/su
ls -l /etc/shadow gives:
-rw------- 1 root root 473 Nov 3 09:27 /etc/shadow



Reproducible: Always
Steps to Reproduce:
1.User$ su -
2.Password: ROOTPASSWORD
OR
1.User$ strace su -
2.put in ROOTPASSWORD at wait point in strace

Actual Results:  
First case: After delay, log in to root.
Second case: Kicked back to user prompt.

Expected Results:  
Expect it would log in to root within 10 seconds at the most. Also expect strace
would let me log in as root after giving the correct password.

Repeatable with no programs running, repeated with Gkrellm, Gaim, other X/Eterms
and Firefox open. Note: Gkrellm did not register a CPU processing spike before,
during, or after the delay when it was running and delay was repeated. There is
nothing special to report about the configuration of this computer.
Comment 1 Brian Leitch 2004-11-21 11:20:47 UTC
Hard disk crashed and burned, upon reformat/reinstallation, the problem seems to be gone. Magic, I guess.