1. 그룹 생성 groupadd -g {GID} {그룹명} # groupadd -g 500 honey 1-1. 확인 # cat /etc/group honey:x:500: 2. 계정 생성 useradd -u {UID} -g {GID} -d {홈디렉토리경로} -m -s {base shell} -c " {코멘트} " {계정명} # useradd -u 1520 -g 500 -d /home/honey-m -s /bin/bash -c "Apache root fork user" honey 2-1. 확인 # cat /etc/passwd honey:x:520:500:Apache root fork user:/home/honey:/bin/bash