Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
>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".
>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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.