LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-24-2007, 12:11 PM   #1
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 162

Rep: Reputation: 23
Cannot login


Hi,

I have just installed OSSEC ran it then removed as i got errors (i installed with checkinstall so was going to try again without). I then noticed that i could not get root access so i rebooted and now i cannot login to my computer with any user account. apache mysql etc are not starting they are reporting invalid user mysql etc.


I am a complete newbie and have no idea where to go from here i have booted with a live cd and had a look around but dont have a clue what to look for.

Any ideas on what i have done or what i need to change so i can log back into my system.

Thanks

Sav
 
Old 06-24-2007, 12:35 PM   #2
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
What Linux distribution you use? How did you removed OSSEC?
 
Old 06-24-2007, 12:38 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
In addition to that, if you boot your Live CD, what's the contents of /etc/password? Is the file there? Does it show entries for root, apache and mysql? Do you by any chance make backups?
 
Old 06-25-2007, 05:40 AM   #4
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 162

Original Poster
Rep: Reputation: 23
Sorry distro is Slackware 11

I had a look and password was missing but there was a password.bak same with shadow so copied them both over and still the same trouble when i try to login.

Any other files to look at.

Im afraid this is the first time i have been on the wrong end of the backup question and i have the wrong answer no sorry not got round to working out how yet.

edit

I used checkinstall to make a package for OSSEC then installed and removed with packages tools. Just realized i should look to see if i can find a log file of what it has changed.

Thanks

Sav

Last edited by SavoTU; 06-25-2007 at 05:42 AM.
 
Old 06-25-2007, 09:12 AM   #5
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 162

Original Poster
Rep: Reputation: 23
Sorted now.

I don't know if it was the ossec or checkinstall but it crated a backup archive off all the files it changed so just copied them all across and can now login to my system again.

I thought i was safe installing things as packages then removing them but obviously not so off to learn how to backup my system now then if it is possible to get the uninstall package option to work correctly.

Thanks again for getting me looking in the correct place.

Sav
 
  


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
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 09:53 AM
Cannot login after upgrading to kde 3.4, brings me back to login screen whitelinux Linux - Software 1 08-23-2006 08:53 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
Computer freeze after graphical login and comand line login TheBrick Linux - Software 3 04-20-2006 11:53 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 07:30 AM


All times are GMT -5. The time now is 10:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration