Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Having some trouble on a Fedora 1 system today. Here's what was going on... I tried to SSH to a system to check some things, and each time I tried to log in, the window just closed on me. No errors, just closed. Weird. So I went directly to the system and checked it out. Things all seemed ok. I re-entered the password to make sure it was right, made sure things we all updated, etc. Still couldn't SSH to it though. Ok, I've seen Linux systems get weird if something had been updated or hadn't closed properly, so I thought I'd reboot the machine. Did that, and it came up fine, up to the login screen. Now, when I try to log in as root (only user set up so far), the screen goes dark for a second, then brings back the login screen like nothing ever happened. SSH still does the same thing too. So now, I'm seemingly locked out of this machine. I'm wondering if anyone has any ideas or suggestions on why the system goes dark for a second, then brings the login screen back up without any errors. I'm at a bit of a loss...
Also, this system was being used as a Free Radius system for the past few months. Could Radius have anything to do with the login issues?
That's really weird, because I use SSH on a lot of systems on our network (only available from inside the network). Might Redhat have enabled root access by default for SSH?
I'll look into using a rescue disk. I don't know that the password was corrupt though, as I changed it a couple of times before I reset the system. Even after changing it, SSH still just booted me out when I put the correct password in. If I used the wrong password, it locked me out (and still does). It's only when the correct password is entered that it either kills the SSH session right away, or resets the login page if I'm trying to login directly to the machine.
I think I may have had a similar problem with both SSH from a Linux remote box as well as SSH from a Win remote box (PuTTY). It stopped happening today. No explanation...
As far as remote login with root. I believe remote login with root was automatically enabled on FC1. You have to go to the conf file and change it, I believe. I don't know why this is the default, but I seem to recall being able to login remotely as root, although now I can't. I'm pretty sure I remember changing the conf file.
About a 1/3rd of the way down /etc/ssh/sshd_config, you should see "PermitRootLogin = <value>" where <value> should be set to 'no' if you don't want to allow root to login remotely. I mean, really, all you need to do is adduser then you can remotely login as user and just -su. Much safer...