■ 일반 파일(Egular File)
* 실행 파일 등
■ 디렉토리 파일(Directory File)
■ 링크 파일(Link File)
■ 장치 파일(Device File)
■ 소켓 파일(Socket File)
■ 도어 파일(Door File)
■ 파이프 파일(Pipe File)
MAN PAGE
NAME
securetty - file which lists terminals from which root can log in
DESCRIPTION
The file /etc/securetty is used by (some versions of) login(1). The file contains the device
names of terminal lines (one per line, without leading /dev/) on which root is allowed to
login. See login.defs(5) if you use the shadow suite.
특징
1. root 사용자에 대한 터미널 설정이다.
2. /dev/ 에 있는 터미널 설정을 의미한다.
- tty -> 서버와 연결된 키보드 콘솔
- pts -> 가상콘솔로써 GUI환경, telnet, ssh로 접속할 때 사용
결론
- root 사용자에 대한 원격 접속을 제한하기 위함이다.
- 주요정보통신 기반시설 취약점 U-01 참고. /pts/# 설정이 있으면 취약하다.
파일 내용
console
vc/1
vc/2
...
tty7
tty8
tty9
tty10
tty11
ttyS0
ttysclp0
sclp_line0
3270/tty1
hvc0
hvc1
hvc2
hvc3
hvc4
hvc5
hvc6
hvc7
hvsi0
hvsi1
hvsi2
xvc0
pts/0
pts/1
pts/2
가변적인 데이터가 들어가는 디렉터리
/bin 명령어
/sbin 시스템 명령어