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/f95/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
7 배치파일을 이용한 백업방법 l2zeo 2010-03-31 59533
6 e2fsck - 파일 시스템 복구 및 검사. - fsck file ADMINPLAY 2010-09-12 60904
5 커널 2.6으로 업그레이드!「A to Z」 ADMINPLAY 2009-08-08 64930
4 rrdtool 컴파일시 에러 configure: error: Please fix the... ADMINPLAY 2009-08-08 65284
3 FFMPEG를 가장쉽게 설치하는 방법(ffmpeg-php 등) ADMINPLAY 2010-05-03 66925
2 대용량 HDD 파티셔닝(Mass storage Partitioning) (GPT 파... ADMINPLAY 2010-04-14 74153
1 linux daemon (리눅스 데몬 설명) ADMINPLAY 2014-02-26 648023

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234