I'm trying to get a VT420 terminal working with a system that uses PAM.
At first, I would get a login prompt, but every attempt to login
resulted in a "Login Incorrect" message. I added ttyS0 to
/etc/securetty, added the line "jmanko ttyS0" to /etc/login.access
(which turns to have no value within PAM, from what I can tell), added
"+:ALL:ttyS0" to /etc/security/access.conf, and tried "+:ALL:ALL" in the
same file, and even attempted to change the value of <console> in
/etc/security/console.perms from "tty[0-9][0-9]*" to
"tty[S]+[0-9][0-9]*". Nothing really worked. I did make some progress,
which I detail below.
I finally got somewhere with the following configuration (but it's not
correct, and I'll explain):
/etc/security/access.conf, added "+:ALL:ALL"
/etc/securetty, added "ttyS0"
This resulted in root being about to login, but the command prompt is
doubled, meaning:
prompt>ls -a
. anaconda-ks.cfg .bash_logout .bashrc install.log .tcshrc
.. .bash_history .bash_profile .cshrc install.log.syslog
.Xresources
prompt>
prompt>[]
where, [], is the final curor position after the "ls -a" command.
You'll notice that it's only the command prompt that is repeated
twice, nothing else.
Also, I can create files as root, but I cannot delete them.
Lastly, normal users cannot login it. I've tried all mentioned above,
and many combinations (maybe I missed a combo), but it doesn't work.
I strongly feel that this is a PAM issue, which is why I'm disregarding
the login configuration files (or should I not be ignoring them?).
Any ideas?
Thanks
John
_______________________________________________
Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list