LinuxQuestions.org
Help answer threads with 0 replies.
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 11-14-2008, 01:59 PM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question linux machine went blank


Hi All,

I have a RHEL5 machine here, and once i login to the machine, the screen goes blank. I can see the cursor moving,that shows that system is not hanged up.

I think i made few changes in the "/home/kapil/.ssh/known_hosts" file last time, it was wrking fine. So, i need to check that file again, but i can't see anything on the screen.

Do we have any admin sort of user with which i can login properly, and then i can check the problem and the root cause of the problem.

Thank You in advance,
Kapil Bajpai
 
Old 11-14-2008, 02:07 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by kapilbajpai88 View Post
Hi All,

I have a RHEL5 machine here, and once i login to the machine, the screen goes blank. I can see the cursor moving,that shows that system is not hanged up.

I think i made few changes in the "/home/kapil/.ssh/known_hosts" file last time, it was wrking fine. So, i need to check that file again, but i can't see anything on the screen.

Do we have any admin sort of user with which i can login properly, and then i can check the problem and the root cause of the problem.

Thank You in advance,
Kapil Bajpai
Don't know...do you have any admin sort of users set up?? That's your system, you should know which users are set up on it...there's no way anyone else can know that.

If things are set up securely, you can't log in as root over the network, via SSH, although you can try it. You can also just log into the console as root, too.
 
Old 11-14-2008, 02:19 PM   #3
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question Linux machine went blank

Hi TBOne,

I tried logging in as 'root', andable to login properly. that is fine. Now, the big concern is how to restore the other user's login details, so that i can login using usual user of this machine, rather than 'root' itself.

I made few changes in Known_hosts file, but i don't know how to restore the earlier information. I think, this will solve my problem.

Do suggest me....

Thank You,
Kapil.
 
Old 11-14-2008, 08:50 PM   #4
littlebat
LQ Newbie
 
Registered: Nov 2008
Distribution: Debian, TinyCoreLinux
Posts: 25

Rep: Reputation: 15
>but i don't know how to restore the earlier information.
Under your root account, "su kapil" switch to your common user,
1), backup your "/home/kapil/.ssh/known_hosts";
2), edit your "/home/kapil/.ssh/known_hosts" file;
3), logout and login with your common user "kapil";
4), if that doesn't work, backup your "/home/kapil/.ssh/" directory, delete your "/home/kapil/.ssh/" directory, relogin again, if you use ssh once again, the ".ssh" directory should be created automatically(haven't confirmed), then you can recreate your "known_hosts" or edit your "known_hosts".
 
Old 11-18-2008, 07:29 AM   #5
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Thumbs up

Quote:
Originally Posted by littlebat View Post
>but i don't know how to restore the earlier information.
Under your root account, "su kapil" switch to your common user,
1), backup your "/home/kapil/.ssh/known_hosts";
2), edit your "/home/kapil/.ssh/known_hosts" file;
3), logout and login with your common user "kapil";
4), if that doesn't work, backup your "/home/kapil/.ssh/" directory, delete your "/home/kapil/.ssh/" directory, relogin again, if you use ssh once again, the ".ssh" directory should be created automatically(haven't confirmed), then you can recreate your "known_hosts" or edit your "known_hosts".
Hi there,

Thank you very much for timely help. The issue gets resolved through ur advise.
Thank You all there for the concern...

--Kapil.
 
  


Reply

Tags
linux, login


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
Restarting Windows machine stops Linux machine mounting/connecting jamespetts Linux - Networking 3 05-29-2008 04:12 AM
how to watch linux client machine desktop(activities) from windows machine deepak rawat Linux - Networking 7 07-03-2006 05:59 PM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 02:25 AM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 11:20 AM
Tried Debian 'Sarge' on a different machine that has nVidia FX 5200 card... blank GUI ExCIA Linux - Newbie 11 05-16-2005 02:36 PM


All times are GMT -5. The time now is 10:12 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