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/17f/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
7 리눅스 메모리 관리, 왜 메모리 여유공간이 없을까? (top ... ADMINPLAY 2013-04-25 5241
6 top 화면 내용중 load average와 PRI : priority(우선순위... ADMINPLAY 2013-12-24 5138
5 HP 서버 disk 증설 (hpacucli 사용) ADMINPLAY 2015-08-05 5126
4 ubuntu 10.04 에서 Nginx, Mysql, PHP5 ADMINPLAY 2013-02-28 5124
3 HDD Guardian (a graphical user interface for smartctl) ADMINPLAY 2013-09-22 4951
2 dpkg 사용법 ADMINPLAY 2013-04-03 4930
1 도메인 Status 상태별 설명 안내 ADMINPLAY 2012-12-28 4832

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234