기존에 사용하던 유저를 홈디렉토리를 변경하려고 하는데 이것이 잘안되네요...
제가 시도해보았으나 실패한 방법은 다음과 같습니다.
useradd aaa
password 설정한후에
vi /etc/passwd
aaax502502/home/aaa/bin/bash 를
aaax502502/home/bbb/bin/bash 로 바꾸었습니다...
그랬더니
Could not chdir to home directory /home/bbb Permission denied
-bash /home/bbb/.bash_profile 허가 거부됨
-bash-2.05b$
그래서 userdel aaa 하고
다시 useradd aaa 한다음 생성된 aaa 라는 홈디렉토리를 bbb 폴더로 mv 시키고 시도 해도 역시 안되는군요...