본문 바로가기

Developement/Server

리눅스의 계정 목록을 확인 하기

리눅스의 계정 목록은 2가지로 확인 할 수 있다.


1). 전체 목록

cat /etc/passwd

cut -f1 -d: /etc/passwd


2) bash 사용자의 목록

grep /bin/bash /etc/passwd

grep /bin/bash /etc/passwd | cut -f1 -d:


이렇게~

'Developement > Server' 카테고리의 다른 글

[관공서용] SSL 인증서 설치  (0) 2014.11.25
CentOS 5.x 64비트 ModSecurity 설치  (0) 2014.10.28
vsFtp 설정  (0) 2014.10.14
SSHD ROOT 로그인, IP별로 접속허용  (0) 2014.08.19
리눅스 서버의 언어설정 바꾸기  (0) 2014.08.06