LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-20-2002, 03:51 PM   #1
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Rep: Reputation: 15
help please - user problem


this is really odd

i am running mandrake 8.2

one day, i could log in with any username, everything went fine, but now, i enter the correct username and password, xserver even knows that it is right, but it just restarts xserver whenever i try to log in as anything but root

does anyone have a solution or do you need more information?

Last edited by X Predator X; 09-20-2002 at 04:20 PM.
 
Old 09-20-2002, 05:38 PM   #2
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
can u 'su' to some normal user after you have logged in
as a root....
 
Old 09-20-2002, 05:56 PM   #3
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
i logged in as root ( it seems to be the only one that half way works )

when i do that 'su' command, it just hangs at the Password: thing when i try to go to certain users. others, it will switch without a problem

Last edited by X Predator X; 09-20-2002 at 05:59 PM.
 
Old 09-20-2002, 06:03 PM   #4
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
As root, cd to /etc and look at the passwd file. Are any of the users you created there?

j.
 
Old 09-20-2002, 06:08 PM   #5
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
yeah, they are all there
 
Old 09-20-2002, 06:12 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You said "xserver", so are you using an X login manager like kdm xdm or gdm then?
 
Old 09-20-2002, 06:14 PM   #7
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
im not really sure what it is called, there was a menu button, i clicked it and it said "Restart X Server"
 
Old 09-20-2002, 06:42 PM   #8
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Is there a file in /etc called nologin?
 
Old 09-20-2002, 06:51 PM   #9
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
no there isnt, is that a bad thing?
 
Old 09-20-2002, 06:59 PM   #10
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
No. It's good. If /etc/nologin exists, then only the user "root" can log in.

j.
 
Old 09-20-2002, 07:11 PM   #11
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
alright *phew*

now can anyone tell me why i cant log in as certain users?

this is like, the most odd (yeah, incorrect) thing i have ever seen
 
Old 09-20-2002, 07:20 PM   #12
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
i had this once on mandrake. i reinstalled, but you do not need to do that, obviously, just not quite sure what the problem is.

can anybody yay or nay this:- could it be screwed up files with the desktop environment? eg. if you have GNOME as your desktop manager, try using KDE to see if that enables you to login, or if you have KDE, try logging in with windowmaker et c.

If it works, then the problem has been isolated down to your desktop environment.
 
Old 09-20-2002, 09:53 PM   #13
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
check if identd server is running or not...i had a
similar problem a short while ago on redhat...also
check .xsession-errors ...
 
Old 09-20-2002, 11:11 PM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Kill your login manager would be the first step:

Type: CTRL + ALT + F2 (and log in as root)
Follow that up with:
init 3
And now you have killed your X server. Now log out of root:
exit
And try logging in with each user/pass
If each user can login that way, you have isolated the problem to X at least. Possibly a missing xinit or something along those lines. But first make sure the users are all ok to login.

After that, with each user, try typing:
startx
and see if you can get into whatever wm is the users' default on your system. If that works with each user, well then it sounds like you would have it now narrowed down to a problem with your xdm/kdm or gdm (whichever you use).

Let us know if you get that far, or if there are problems before that, what they are.

Cool
 
Old 09-21-2002, 10:09 AM   #15
X Predator X
Member
 
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for all of your help guys

but...it didnt really need to be done, my brother (the smaller, lesser being that he is) formatted my linux partition "by accident".

all is good, i have everything back up and running, just need to get WINE back and MPlayer

all access is granted on my computer once again

thanks for all of your help anyway
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration