PAM Authentication

pls help me to configure PAM authentication using Redhat 5
gopigopsAsked:
Who is Participating?
 
pingvinosCommented:
I hope that you are actually talking about Red Hat ENTERPRISE Linux 5. The cconfiguration files for the services are found in /etc/pam.d folder,and it is one file per service.
For instance,this is sshd.d file:
#%PAM-1.0
account    required     pam_time.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
session    required     pam_limits.so
session    optional     pam_console.so

Just to be brief:every line consists of:
1)module type-it can be account,auth,password or session
2)control flags can be required,requisite,optional or sufficient
3)the name of module
4)module options.


0
 
gopigopsAuthor Commented:
we want a simple lab about PAM
0
 
gopigopsAuthor Commented:
thank
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.