Hello thanks for the reply:
answers inline:
You can't. PAM is compiled into the authentication programs. Without PAM you'd never be able to login at all! It's PAM that actually checks your password etc etc etc.
ok ....
This normally means you're trying to login as "root" but the terminal you're using is not listed in /etc/securetty
yes, and i'd like to login as root unsecurely ... but I also tried with a regular user, to no avail ....
i tried regular user and i tried root ...
Feb 21 09:06:48 localhost login: pam_securetty(login:auth): access denied: tty 'tty1' is not secure ! Feb 21 09:06:51 localhost login: FAILED LOGIN 2 FROM (null) FOR root, Authentication failure Feb 21 09:06:57 localhost login: FAILED LOGIN 3 FROM (null) FOR sofia, Authentication failure Feb 21 09:06:58 localhost login: pam_securetty(login:auth): access denied: tty 'tty1' is not secure !
Two solutions:
- Add tty1 to /etc/securetty
OR
all tty1's were added to securetty file:
vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11
still symptom persists.
- comment out the pam_securetty lines in /etc/pam.d/* files ( maybe only /etc/pam.d/login and /etc/pam.d/remote )
i'll try that ...