Skip to content

Linux에서 로그인 전후 메시지 수정 방법

조회 수 20982 추천 수 0 2008.10.15 20:51:46

Linux 에서 로그인 전 화면 즉 "login: "이라고 뜨는 화면 위에 메시지를 바꾸려면

/etc/issue
를 수정하면 되고 ssh나 telnet과 같은 네트워크 서비스에 대한 로그인 화면을 수정하려면

/etc/issue.net
을 수정하면 된다. 이 때 사용할 수 있는 옵션들이 몇 가지가 있는데 이는 아래와 같다.

\d date
\l virtual terminal
\m CPU architecture
\n network node (usually equal to the fully-qualified hostname)
\o domain name 
\r kernel version
\t time
\s OS name
\u number of current users
\U number of current users, followed by the text " users"
\v OS version (kernel compilation date)
로그인에 성공 한 후의 메시지를 수정하려면

/etc/motd
파일을 수정해주면 된다.

 

profile

일요일은 짜빠게뤼~ 먹는날~^^

엮인글 :
http://adminplay.com/375/3dc/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234