Re: How to Disable PAM in Centos 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux