LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-15-2004, 11:04 AM   #1
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
Login-restore problem


Problem is simple-cant log in under ANY account on redhat7.3

Symptoms: machine boots and starts normal, services are starting, login appears.
when i insert username with i try to log on to, and press enter, it is back at username prompt.No logs, no errors, does'nt complain about anything

I can start it as linux rescue, mount all, filesystem was clean.
/etc/passd, shadow and /etc/security are at place, seems that pam conf is ok.

dont know was it right or not >did rpm -i --reinstall shadow-tools, pam and passwd packages.

same story, still no login, but not worse either.

Am kinda noob in such situation,.
problem is that machine is scsi raid system with partially mirrored volumes.And soft on it is very customized and expensive one.
if i have to make here some reinstall, it must work after, and there is no any installation source for that special soft.





What should i do try to fix this without reinstall??? (*besides rtfm?)
 
Old 07-15-2004, 01:04 PM   #2
dannybpng
Member
 
Registered: Sep 2003
Location: USA
Distribution: Fedora 35
Posts: 79

Rep: Reputation: 22
1. Boot with the rescue disk.
2. mount / (root)
3. chroot to the mounted directory
4. If seperate partitions, mount any other "system" partitions (/usr, /home)
5. try creating a new user (check for any errors)
6. shutdown
7. restart
8. see if you can login as the new user

Dan
 
Old 07-15-2004, 05:12 PM   #3
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Original Poster
Rep: Reputation: 15
This was one thing i tried before first post-no success.
 
Old 07-16-2004, 07:04 AM   #4
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Original Poster
Rep: Reputation: 15
Angry

Sad but true, box i was talking about was hacked.
I never tried to implie too much strong security on it, because it was "behind" hardware firewall on gateway.

Some bustard used debilean to turn box to spoofed psyBNC chathole, creating openVPN channel for it.
 
Old 07-16-2004, 08:54 AM   #5
dannybpng
Member
 
Registered: Sep 2003
Location: USA
Distribution: Fedora 35
Posts: 79

Rep: Reputation: 22
Sorry you got hacked. That was going to be the next thing I was going to suggest. It just sounded too strange.
 
  


Reply



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
Restore MP3 playing...please help. (QT problem) RoaCh Of DisCor Linux - Software 1 07-23-2004 02:00 PM
Problem with backup and restore? tradewind Linux - Enterprise 8 07-13-2004 06:24 AM
postgresql restore problem basbosco Linux - General 0 03-04-2004 12:00 PM
alsactl restore problem Guste Debian 1 02-08-2004 01:53 AM
Restore problem chuck77 Linux - General 0 03-27-2002 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:40 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
Open Source Consulting | Domain Registration