Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- javascript
- apm
- Network Info(Tool)
- UNIX
- PC
- SSH
- Command
- MS windows
- LiveCD(USB)
- web
- webhard
- script
- Update
- OS(operating system)
- Windows 10
- Linux
- explorer
- network
- 대항해시대
- FTP
- Disk Partition
- game
- MS Windows PE
- H/W
- calculator
- portable
- Crack(Serial Key)
- Programming
- program
- Backup(Restore)
Archives
- Today
- Total
<In Story>
/bin/false, /sbin/nologin 의 차이점 // [OS] [Linux] [Command] 본문
OS(operating system)/Unix, Linux
/bin/false, /sbin/nologin 의 차이점 // [OS] [Linux] [Command]
<In Story, Hi story, History> 2015. 5. 17. 17:22/etc/passwd 사용자계정 부분에 /bin/false, /bin/nologin 등으로 설정할 경우가 있는데 그 차이점입니다.
/bin/false
allows a login, but no shell, no ssh tunnels and no home directory.
-> 시스템의 로그인은 불가능, FTP 서버 프로그램같은 프로그램도 불가능하다.
쉘이나 ssh과 같은 터널링(원격접속) 그리고 홈디렉토리를 사용할 수 없다.
/sbin/nologin
disallows logins completely and returns a polite account unavailable message.
-> 사용자 계정의 쉘부분에 /bin/nologin 으로 설정을 하면
로긴 불가하고, 메시지들은 반환된다 ssh는 사용불가능하며 ftp의 경우 사용이 가능합니다.
'OS(operating system) > Unix, Linux' 카테고리의 다른 글
| iconv를 이용한 EUC-KR 을 UTF-8로 인코딩 변환하기 // [Unix] [Linux] [Programming] [Command] (0) | 2015.06.21 |
|---|---|
| Linux SSH root 계정 로그인 막기 // [OS] [Linux] [SSH] [Network] (0) | 2015.06.06 |
| 리눅스 입문 추천 도서 // [OS] [Linux] [Book] (0) | 2015.05.30 |
| Linux Distributions Info site, 리눅스 배포판 정보(순위) // [OS] [Linux] [Web] (0) | 2015.05.30 |
| 리눅스 관리자가 알아두어야할 50가지 // [OS] [Linux] [Web] [Network] [Command] (0) | 2015.05.26 |
| 리눅스 디스크 관리 fdisk 사용법2 // [OS] [Linux] [Command] [Disk Partition] (0) | 2015.05.05 |
| 리눅스 디스크 관리 fdisk 사용법 // [OS] [Linux] [Command] [Disk Partition] (0) | 2015.05.05 |
| 리눅스에서 NTFS 포맷하기 // [OS] [Linux] [Command] [Program] [Disk Partition] (0) | 2015.05.05 |
| 우분투 ssh/rsa, sftp 설정 // [OS] [Linux] [Ubuntu] [FTP] [Network] (0) | 2015.05.05 |
| 리눅스 계정 관리 명령어(adduser, usermod, userdel) // [OS] [Linux] [Command] (0) | 2015.05.05 |