반응형

1. 콘솔 접속 시 보여지는 메시지(서버에 모니터 연결 후 Login 전 메시지)

# vi /etc/issue

This is \n (\s \m \r) \t

=>

Ctrl+Alt+F2

This is isbyeon.kobic.kr(Linux x86_64 3.6.10-2.fc17.x86_64) 17:40:26
isbyeon login:

 

2. 원격 접속 시 보여지는 메시지(SSH로 접근 후 Login 전 메시지)

# vi /etc/ssh/sshd_config

Banner /etc/issue.net  ### default:false

# service sshd restart

# vi /etc/issue.net

CentOS release 6.3 (Final)
isbyeon..remoote

=>

# ssh 192.168.150.180

CentOS release 6.3 (Final)

isbyeon..remote
root@192.168.150.180's password:

 

3. 로그인 후 메시지

# vi /etc/motd

##################################################################
#                Welcome to ??? server                           #
#                      isbyeon.kobic.kr                          #
##################################################################
#      * If you have any questions or suggestions,               #
#        send an e-mail to iksubyeon@gmail.com                   #
#################################################################

=>

# ssh 192.168.150.180

root@192.168.150.180's password:
##################################################################
#                Welcome to ??? server                           #
#                      isbyeon.kobic.kr                          #
##################################################################
#      * If you have any questions or suggestions,               #
#        send an e-mail to iksubyeon@gmail.com                   #
##################################################################

 

※ 홈 디렉토리에 .hushlogin이라는 파일을 만들어 메시지를 출력 안할 수도 있다.
isbyeon $ touch ~/.hushlogin

 

b   Insert the baudrate of the current line.
d   Insert the current date.
s   Insert the system name, the name of the operating system.
l   Insert the name of the current tty line.
m   Insert the architecture identifier of the machine, e.g., i686.
n   Insert the nodename of the machine, also known as the hostname.
o   Insert the domainname of the machine.
r   Insert the release number of the kernel, e.g., 2.6.11.12.
t   Insert the current time.
u   Insert the number of current users logged in.
U   Insert the string "1 user" or "<n> users" where <n> is the number of current users logged in.
v   Insert the version of the OS, e.g., the build-date etc.

 

 

 

반응형

'Linux > CentOS' 카테고리의 다른 글

리눅스 OS 배포판 정보 확인  (0) 2012.12.29
리눅스 OS 커널 버젼 확인  (0) 2012.12.29
디렉토리 구조 - Filesystem Hierarchy Standard(FHS)  (0) 2012.12.27
GPT error  (0) 2012.11.23
CentOS 6 em1을 eth0로 변경  (0) 2012.11.07
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기