--==============================================================================
-- PMM Server 모듈 설치 운영 계정 생성
--==============================================================================
[root@pmmserver ~]# cat /etc/passwd | grep pmm
[root@pmmserver ~]# cat /etc/group | grep pmm
[root@pmmserver ~]# groupadd -g 2100 pmm
[root@pmmserver ~]# useradd -g pmm -u 2100 -s /bin/bash -d /home/pmm pmm
[root@pmmserver ~]# chmod 750 /home/pmm
[root@pmmserver ~]# cat /etc/passwd | grep pmm
pmm:x:2100:2100::/home/pmm:/bin/bash
[root@pmmserver ~]# cat /etc/group | grep pmm
pmm:x:2100:
[root@pmmserver ~]# passwd pmm
pmm 사용자의 비밀 번호 변경 중
새 암호: "XXXXXXXX"
새 암호 재입력: "XXXXXXXX"
passwd: 모든 인증 토큰이 성공적으로 업데이트 되었습니다.
[root@pmmserver ~]# chage -E -1 -I 0 -m 0 -M 99999 pmm
[root@pmmserver ~]# chage -l pmm
Last password change : Oct 19, 2016
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@pmmserver ~]# su - pmm
[pmm@pmmserver ~]$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
################################################################################
# User specific environment and startup programs
################################################################################
LANG=ko_KR.UTF-8
export LANG
--==============================================================================
-- PMM Server 모듈 다운로드한 디렉토리 생성
--==============================================================================
[pmm@pmmserver ~]$ mkdir /home/pmm/programs/
[pmm@pmmserver ~]$ mkdir /home/pmm/programs/PMM105/