1. user 목록 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin | cs |
2. user 추가
1 2 | # useradd test | cs |
3. user 추가 확인
1 2 3 | # cat /etc/passwd |grep test test:x:1000:1000::/home/test:/bin/bash | cs |
'Operating System > Linux' 카테고리의 다른 글
ubuntu docker 설치 및 계정 권한 부여 (0) | 2017.11.07 |
---|---|
ubuntu curl 설치 (0) | 2017.11.07 |
ubuntu 설치된 패키지 목록 확인 (0) | 2017.11.06 |
centos python pip 설치 (0) | 2017.11.06 |
centos zip 설치, 압축 및 압축 해제 (0) | 2017.11.06 |