- 리눅스 계정 있는지 확인
1 명령어
Bash
Copy
cat /etc/passwd | grep 계정명
2 실행예시
bat
Copy
[root@localhost ~]# cat /etc/passwd | grep mysql
mysql:x:27:474:MySQL Server:/var/lib/mysql:/bin/bash
- → mysql 계정이 있다.
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.