From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,42cd94a24e343034 X-Google-Attributes: gid111c93,public From: Subject: Re: Logged out after 25 seconds or so? Date: 1999/07/28 Message-ID: <871zdthh3p.fsf@bglbv.my-deja.com>#1/1 X-Deja-AN: 506350940 Content-Transfer-Encoding: 8bit References: <379ca329.0@samba> <379D9FD2.4E64759D@pobox.com> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuse@freeuk.net X-Trace: nnrp4.clara.net 933198939 212.126.148.62 (Wed, 28 Jul 1999 22:55:39 BST) Mime-Version: 1.0 NNTP-Posting-Date: Wed, 28 Jul 1999 22:55:39 BST Newsgroups: comp.os.linux.alpha Brian Candler writes: > > I get a login prompt (I'm not using X) and can log in as root. > > > > Then, about 20-30 seconds later, I am magically booted out, and presented > > with the login prompt again. This happens at every login attempt, regardless > > of virtual console (i.e. ALT-Fn). > Yes, I had that problem when I upgraded my Multia UDB from RH5.2 to > RH6.0. That was a stressful day :-) > If I remember correctly, the problem was that the UDB's bootloader was > still configured to load the old kernel, which is "vmlinux" (or similar) > in the root directory. I changed the bootloader to point at > "/boot/vmlinuz" (this is a symlink to the new kernel) and it was fine > after that. But a wrong pathname for the kernel file would not allow the system to get as far as allowing users to log in. Even PAM configuration errors are unlikely in this case, since the failure is reported to occur later during the session, _after_ a successful login. At least that's my reading of the problem report; if on the other hand the phrase "can log in as root" does not imply getting a shell prompt after entering the root password, I'd recommend reading about those infamous Pluggable Authentication Modules and how to configure them. Root logins tend to be disallowed on "insecure" terminals, which shouldn't include the console or the serial ports but... I'd suggest rebooting the machine single-user and investigating. Or, if non-root logins work normally, using the "su" command from a non-root account.