linux-origin
[Top] [All Lists]

Re: SMP telnet : PAM issues

To: ralf@xxxxxxxxxxx (Ralf Baechle)
Subject: Re: SMP telnet : PAM issues
From: kanoj@xxxxxxxxxxxxxxxxxxx (Kanoj Sarcar)
Date: Mon, 8 May 2000 18:15:32 -0700 (PDT)
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <20000509031107.F18446@uni-koblenz.de> from "Ralf Baechle" at May 09, 2000 03:11:07 AM
Sender: owner-linux-origin@xxxxxxxxxxx
> 
> On Mon, May 08, 2000 at 05:22:36PM -0700, Kanoj Sarcar wrote:
> 
> > So, SMP multiuser works somewhat. Basically, at the console, I can not
> > log in as root. This is what the console says:
> > 
> > trillium login: root
> > X<38>May  8 17:14:51 PAM_pwdb[298]: (login) session opened for user root by 
> > (uid=0)Last login: Mon May  8 16:49:45 on ttyS0
> > A<38>May  8 17:14:51 PAM_pwdb[298]: DIALUP AT ttyS0 BY root
> > A<37>May  8 17:14:51 PAM_pwdb[298]: ROOT LOGIN ON ttyS0
> > 
> > 
> > WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!!
> > 
> > 
> > Q<38>May  8 17:14:51 PAM_pwdb[298]: (login) session closed for user root
> > 
> > 
> > Hard Hat Linux Hard Hat release 5.1 (Manhattan)
> > Kernel 2.3.99-pre6 on a mips64
> > 
> > 
> > I am mystified as to why "session closed for user root" is happening.
> > Any PAM experts out there can point me to startup scripts etc that
> > control PAM, so I can hack around and see what the problem is?
> 
> > Surprisingly, root/guest logins from telnet windows work fine
> > on the SMP kernel.
> 
> I think that looks like the terminal which you're using to login which
> probably is /dev/ttyS0 isn't configured in /etc/securetty.  Well,

That was my first thought, but it doesn't hold because UP kernels 
allow console logins for root.

> securetty is a stupid concept, so you can just delete the whole file
> or remove references to pam_securetty.so in /etc/pam.d/*.
> 
> Pam is controlled by /etc/pam.d/* plus a number modulespecific files.
> Details are documented in /usr/doc/pam*/.

Okay, I will hack with this, maybe there's a timing issue with the 
SMP kernel.

Kanoj

> 
>   Ralf
> 


<Prev in Thread] Current Thread [Next in Thread>