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: (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: DIALUP AT ttyS0 BY root
> A<37>May 8 17:14:51 PAM_pwdb: ROOT LOGIN ON ttyS0
> WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!!
> Q<38>May 8 17:14:51 PAM_pwdb: (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*/.