| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-31-2003, 01:27 PM
|
#1
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
S-l-o-w password recognition/authentication
I've searched here and on Google and not found the identical problem: all the ones I found seemed to involve networking.
I'm using Mandrake 9.2 on a single desktop machine with an ADSL internet connection. Besides root, there's only "jon" as a user.
I can go into an Xterm or one of the non-X Window terminals and su from jon to root almost instantly. Then I can change back to jon instantly. But the next time I su to root, it takes 25 seconds for the password to be authenticated. And this continues till I terminate my X Window session and start a new one.
Does this sound familiar to anyone? 
|
|
|
|
10-31-2003, 03:04 PM
|
#2
|
|
Member
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180
Rep:
|
I've never seen this problem, and I don't know exactly how to solve it, but it might be a problem with PAM's configuration. You might want to do a man pam and check your /etc/pam.conf or /etc/pam.d files. Sorry I couldn't be more helpful.
|
|
|
|
10-31-2003, 06:50 PM
|
#3
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Original Poster
Rep:
|
Thanks, Zoombie--I looked at the manual pages and the files in /etc/pam.d and if the problem lies there, as it well might, I guess I'm sunk, since it's beyond my poor ability to figure out.
I do have another clue, though: I discovered that although logging in a second time as root, in an Xterm, takes 25 seconds, if I close that Xterm and open a new one, I can log in as root instantaneously as I always used to do. It's only the second and subsequent su's to root that take 25 seconds apiece. (Su'ing back to "jon" is always instantaneous, or nearly so.)
????
|
|
|
|
11-01-2003, 07:12 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2003
Posts: 29
Rep:
|
I've got the same problem in 9.2, although it does not happen on a regular basis. I havent looked into it, but if i find something i'll post it here.
|
|
|
|
11-01-2003, 12:18 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2003
Location: In A House
Distribution: mandrake slackware
Posts: 24
Rep:
|
Instead of 'su' try 'su -' and see if that also takes 25 seconds for the password to be authenticated. I don't know if that will solve the authentication issue or not, but it would not hurt to try that.
Also what Xterm are you using?
|
|
|
|
11-01-2003, 12:28 PM
|
#6
|
|
LQ Newbie
Registered: Oct 2003
Location: In A House
Distribution: mandrake slackware
Posts: 24
Rep:
|
Quote:
Originally posted by jonr
(Su'ing back to "jon" is always instantaneous, or nearly so.)
|
I never su back, I always exit from root which puts be back as user bob, and I've never seen this issue pop up before.
HTH
|
|
|
|
11-01-2003, 01:15 PM
|
#7
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Original Poster
Rep:
|
When I issue "xterm -version" it opens a new xterm and in the starting xterm it prints
XFree86 4.3.99.5(179)
XFree86 4.3.99.5(179)
I tried su - and got the same result as without the hyphen.
One more possible clue? I've found that occasionally an application cannot be opened from xterm; the error is "unable to connect to x server." If I close the xterm and open a new one, the application runs OK.
|
|
|
|
11-01-2003, 01:24 PM
|
#8
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Original Poster
Rep:
|
Hmm! Tried using "exit" instead of "su jon" which I'd been using for all these months, and the delay doesn't happen when I su back to root. I guess I just need to learn a new habit. That's what I get for upgrading---I always end up with things that don't work like before....
I'll have to see if the programs-not-able-to-connect-to-x-server thing still happens if I've been switching identities back and forth this other way.
|
|
|
|
11-01-2003, 01:49 PM
|
#9
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Original Poster
Rep:
|
OK. I opened an xterm, did su to root, then su back to jon, and tried to open chbg. Here's what it looks like:
[jon@bodhisattva home]$ su
Password:
[root@bodhisattva home]# su jon
[jon@bodhisattva home]$ chbg
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gdk-WARNING **: cannot open display: :0.0
[jon@bodhisattva home]$
Then I opened an xterm, did su to root, EXITED back to jon, and
tried opening chbg, and it worked OK. So...
At least we know the two phenomena are related!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|