Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Suppose if we create nologin file under /etc then only root can login, but if we comment on all pam_nologin.so line in every file under /etc/pam.d/ then other user also login.

That means these /etc/nologin,/etc/securetty are all controlled by pam only (I guess)

Without PAM how can I achieve the same thing?

OR

Describe the system with PAM and without PAM

I am using CentOS 6.2

share|improve this question
    
Can you explain what you are hoping to accomplish, or why you don't want to use PAM to accomplish it? It is difficult to know what possible solutions to offer, without knowing what restrictions you are trying to maintain. –  Don Simon Aug 27 '12 at 15:10
    
ok, Then just describe the linux system with PAM and without PAM. –  max Aug 27 '12 at 17:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.