etc issue and issue.net

 Site Index
 o Home

o IP Classes

 o etc motd

 o etc issue

 o man pages

o tcp wrappers

 

 


 

 
 

 

 

 

 

 

 

 

 

/etc/issue and /etc/issue.net files

 

/etc/issue and /etc/issue.net files can be used to print any logon messages to users logging on to a Linux machine, the message appears BEFORE the login prompt of the login console.

Many escape sequences can also be used in these files to print important information about the system onto the console

The issue.net file has same features and properties the only difference being that the /etc/issue.net file holds the information that is display to users logon in via telnet

 some escape characters that can be used are mentioned in the table below

Character

Description

\d

Insert the current date.

\o

Insert the domain name of the system.

\r

Insert the release number of the kernel, e.g., 2.4.20.

\s

Insert the system name, the name of the operating system.

\t

Insert the current time.

\u

Insert the number of current users logged in.

v

Insert the version of the OS.

\n

Insert the node name of the machine, also known as the hostname.

\m

Insert the architecture identifier of the machine, e.g., i686

 

You must remember one thing that /ect/issue.net file only effects the logons via telnet and any access via SSH is not controlled by the issue.net file

 


© Copyright 2005-2007