Web page hosting, cheap domain name & website promotion services
  

 Home

Red Hat Linux 7.2: The Official Red Hat Linux Customization Guide
PrevChapter 17. Console AccessNext

Disabling All Console Access

The PAM pam_console.so module manages console file permissions and authentication. (See the Official Red Hat Linux Reference Guide for more information on configuring PAM.) If you want to disable all console access, including program and file access, comment out all lines that refer to pam_console.so in the /etc/pam.d directory. As root, the following script will do the trick:

cd /etc/pam.d
for i in * ; do
sed '/[^#].*pam_console.so/s/^/#/' < $i > foo && mv foo $i
done

PrevHomeNext
Disabling Console Program AccessUpDefining the Console
 

 

 

 

Seosubmit.com: Web site promotion | Domain register and transfer | Buy cheap domain name 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: Most of the change we think we see in life is due to truths being in and out of favour.