리눅스 패스워드 파일 /etc/passwd

JohnJeong1 (토론 | 기여)님의 2016년 5월 8일 (일) 01:52 판 (새 문서: ==Password file== */etc/passwd은 텍스트 기반의 파일로 시스템에 로그인하는 사용자에 관한 정보를 담고 있음. ==사용법== *내용 확인 <source lang="b...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 Password file

  • /etc/passwd은 텍스트 기반의 파일로 시스템에 로그인하는 사용자에 관한 정보를 담고 있음.

2 사용법

  • 내용 확인
john@zetawiki:~$ cat /etc/passwd
john:x:1021:1021:john ID Info:/home/john:/bin/bash
  • /etc/passwd 필드 이해
Username john
Password x
User ID (UID) 1021
Group ID (GID) 1021
User ID Info john ID Info
Home directory /home/john
Command/shell /bin/bash
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}