[CentOS] How to Disable PAM in Centos 5.1

Barry Brimer lists at brimer.org
Fri Feb 22 18:11:58 UTC 2008


Quoting vincenzo romero <new2xen at gmail.com>:

> this is great - however one question in Step 3:
>
> i vi what file?
>
> vi /etc/pam.d/ <what_config_file> ??
>
> or did you mean for me to create a file:  /etc/pam.conf file and add
> the contents you mention below?
>
>  auth        sufficient    pam_permit.so
> >  account     sufficient    pam_permit.so
> >  password    sufficient    pam_permit.so
> >  session     sufficient    pam_permit.so
>
> On Fri, Feb 22, 2008 at 9:45 AM, Barry Brimer <lists at brimer.org> wrote:
> > Try this:
> >
> >  1.  Copy /etc/pam.d to /etc/pam.d.save
> >  2.  Delete all files in /etc/pam.d
> >  3.  Create vi /etc/pam.d/other with the following contents:
> >
> >  =======================================
> >  auth        sufficient    pam_permit.so
> >  account     sufficient    pam_permit.so
> >  password    sufficient    pam_permit.so
> >  session     sufficient    pam_permit.so
> >  =======================================
> >
> >  4.  Attempt to log in

Sorry.  Step 3 involves creating a file literally named "/etc/pam.d/other" with
the contents listed above.  The ==== lines are not part of the file, but to
indicate the beginning and ending of the file in this email.

Barry



More information about the CentOS mailing list