Hello all I would like to disable PAM authentication in my test server running Centos5.1. Currently I get an error that states: "Feb 22 02:01:31 localhost login: pam_securetty(login:auth): access denied: tty 'tty1' is not secure !" I would like to DISABLE the PAM authentication; am unable to get the answer after googl'ing for hours; if anyone is familiar on how to do this: please advise. I am quite new to the intricacies of this OS; please bear the naive questions. -- best, Vince
vincenzo romero wrote:> I would like to DISABLE the PAM authentication; am unable to get the > answer after googl'ing for hours; if anyone is familiar on how to do > this: please advise. I am quite new to the intricacies of this OS; > please bear the naive questions.Since your quite new, may I ask what is the reason behind wanting to disable PAM ? I can't imagine any reason why someone would want to do that. But I'm sure there is some reason out there.. Just curious. nate
On Fri, Feb 22, 2008 at 08:16:15AM -0800, vincenzo romero wrote:> Hello all > > I would like to disable PAM authentication in my test server running Centos5.1.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.> "Feb 22 02:01:31 localhost login: pam_securetty(login:auth): access > denied: tty 'tty1' is not secure !"This normally means you're trying to login as "root" but the terminal you're using is not listed in /etc/securetty Two solutions: 1) Add tty1 to /etc/securetty OR 2) comment out the pam_securetty lines in /etc/pam.d/* files ( maybe only /etc/pam.d/login and /etc/pam.d/remote ) I'd recommend solution "1" myself. -- rgds Stephen