linux-origin
[Top] [All Lists]

Re: SMP telnet : PAM issues

To: Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx>
Subject: Re: SMP telnet : PAM issues
From: Ralf Baechle <ralf@xxxxxxxxxxx>
Date: Tue, 9 May 2000 03:11:07 +0200
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <200005090022.RAA11266@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Mon, May 08, 2000 at 05:22:36PM -0700
References: <200005090022.RAA11266@google.engr.sgi.com>
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,
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*/.

  Ralf

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