how to Secure Login Screens in linux environment

8:34 AM

Securing Login Screens


step1:To do this, you need to edit the contents of the /etc/issue and /etc/issue.net files.


step2:The issue file is displayed when you log in via a terminal session and the issue.net file when you
login via a telnet session. Most distributions use these files for this purpose, including both
Red Hat and Debian. These files can contain a combination of plain text and escape characters.
I usually start my files by forcing it to clear the screen; I achieve this by redirecting the
output of the clear command to the /etc/issue and issue.net files. Enter the following:


puppy# clear > /etc/issue
puppy# clear > /etc/issue.net




Step3:You need to secure all these files to stop other people from editing them. Enter the
following:


puppy# chown root:root /etc/issue /etc/issue.net /etc/motd
puppy# chmod 0600 /etc/issue /etc/issue.net /etc/motd

0 Comments