LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2004, 11:58 AM   #1
rmsat
LQ Newbie
 
Registered: May 2004
Location: Southern California
Posts: 21

Rep: Reputation: 15
Not being able to login, 911 extreme help needed!


I am using Mandrake Linux and I am unable to login either in the graphical or the command line. In either situation the login acts like it enters the login then it just pops back, with no login failure. I have a database on the system my work needs desperatly.
I noticed threads mentioning vector, vasm,. I am not sure how to use these or what they are. I upgraded the system and that was no help. But if I reload the system and not partition i should sstill be able to get my database right?

Thanks,
DAn
 
Old 06-11-2004, 12:06 PM   #2
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Can you try to connect as another user?? and then su to root (without the -)

Else use a cd based linux like knoppix (needs a reboot though) and check the password file...
 
Old 06-11-2004, 12:37 PM   #3
rmsat
LQ Newbie
 
Registered: May 2004
Location: Southern California
Posts: 21

Original Poster
Rep: Reputation: 15
thanks for info. I am going to download knoppix and try that. Will I be able to figure out what it is doing? Do I go into the password file with vim?
Thanks again
DAn
 
Old 06-11-2004, 01:12 PM   #4
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
The passwords file should tell you what is run for the user in terms of shell at boot. It could be a problem with the shell just quitting when its loaded I am not to sure.
Either way the Knoppix CD will allow you to atleast get your DB off the system if that is what you need.
 
Old 06-11-2004, 01:17 PM   #5
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
First you have to mount the hard drive, than you can use a text editor like vim or gvim . Just make sure you also edit /etc/shadow.

You can also just create another root user, for example "rot" and make sure that you give it a " statically linked shell" like /bin/sh! And don't forget to remove it again once you have figured out the problem.

Good luck
 
Old 06-11-2004, 02:07 PM   #6
rmsat
LQ Newbie
 
Registered: May 2004
Location: Southern California
Posts: 21

Original Poster
Rep: Reputation: 15
I brought the drive over to another linux box I am working on to create my PDC. With the help of what I found in Mount HD Partition forum from David_Ross, I was able to mount the drive. Wahoo!! Do you know how to go about checking my passwd file through vim. What am I looking for?
Dan
 
Old 06-11-2004, 05:43 PM   #7
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Bit hard to guess from here but I would look for the location of the shell would be a good place to start, here is an example

root:x:0:0:root:/root:/bin/sh

(If you want to know what those fields mean do a "man 5 passwd")

Than make sure that the shell is "statically linked" by using the following command

file /bin/sh

Also check if the file /etc/nologin exists, if so remove it, however it existence should not prevent root from logging in..

If that al seems ok just have a look in /var/log
and see what the messages, syslog or authlog tell you

Good luck
 
Old 06-11-2004, 06:17 PM   #8
rmsat
LQ Newbie
 
Registered: May 2004
Location: Southern California
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks
Well since I saved our data file I wasn't squimish to put the hd back in the original box. I reinstalled a full installation of Mandrake Linux 10 and what do you know same problem. This time though I walked away with it blinking login and when I came back I had this message.

Linuxapache:login application bug: crond(3495) has SIGCHLD set to SIG_IGn but calls wait().
(see the notes section of 'man2 wait'). Workaround activated.
Linuxapache:login application bug: crond(3495) has SIGCHLD set to SIG_IGn but calls wait().
(see the notes section of 'man2 wait'). Workaround activated.

Intersting huh? Wow what fun. well into man2 we go.

Dan
 
Old 06-11-2004, 07:10 PM   #9
brentos
Member
 
Registered: Nov 2003
Distribution: Fedora Core3, RHEL3,4
Posts: 92

Rep: Reputation: 15
I had the same error message on my box when I had a problem with Fedora CORE1, i looked and the only way I found to fix it was a reformat and reinstall because to many packages were messed up, it was right after I did an Up2date.
But I don't know what you will do since you just installed.
 
Old 06-11-2004, 08:19 PM   #10
rmsat
LQ Newbie
 
Registered: May 2004
Location: Southern California
Posts: 21

Original Poster
Rep: Reputation: 15
I agree with you I am doing that as I write this.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a program type i need to install 911 ddlinux Linux - Software 5 02-28-2005 02:56 PM
911 Dispatch PC Security :: Isolate Internet Viruses danfig General 2 01-05-2005 09:30 PM
911: the Road to Tyranny Samizdat General 11 09-06-2004 09:50 PM
kernel panic( rescue 911) khalil Linux - Software 1 01-23-2004 05:53 AM
extreme login problems wza Linux - General 3 01-30-2003 11:29 AM


All times are GMT -5. The time now is 06:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration