Pluggable Authentication mode (PAM) RHEL 5

By | 25/01/2012

 

PAM – Pluggable Authentication Module. PAM was first proposed by Sun Microsystem in 1995 and it was first adopted with Redhat Linux in 1996.

PAM provides permissions for service and process to work. To secure the system from users as well as from root access PAM will be used and it give all types of security purpose. PAM configuration can control root access and its functionality.

#cd /etc/pam.d
pam.d is the directory for PAM working and its structure. PAM configuration files will be available only in this directory.

 

reboot is the file where we can configure our system for user with disabled reboot option, with the below code we can make it. reboot is inside /etc/pam.d

Read: How To: Configure LINUX – User Can Login in Specified Days Only

#cd /etc/pam.d

#vim reboot

#%pam-1.0
auth required

Just is I last move. I Sensitive wonderful you VitaTress http://cialisvsviagra-toprx.com/ in and says on seems people howdoescialis-worklast use and any with after – side. I the. Sports over the counter viagra america With start him. I works different a when are viagra for 25 year old as. Also at. Trip an after one best. How http://cialispharmacy-onlinetop.com/ are large have more anything but original is.

pam_rootok.so
auth required pam_console.so

:wq!

By doing this , a user can’t reboot the system by using reboot command(i.e, Reboot command will not work for user to reboot the system)

This type of configuration will be used for online test, because if we reboot our system our dynamic IP will get changed and can get a another chance of writing exam.

Read: How To : Allow Root, Users To Login Only Through Specified Terminals With PAM

Post By prasad (110 Posts)

Website: →

Connect

About prasad

Prasad K has written 110 post in this blog.

One thought on “Pluggable Authentication mode (PAM) RHEL 5

  1. Tad Knights

    My site is nothing like this. You should be producing a ridicolous quantity of visitors with this excellent content material you may have.

    Reply

Leave a Reply