채택완료
useradd 와 adduser 차이에 대한 문제
adduser 로 사용자를 만들면 디렉토리 칼라 ll 명령어 등 모든 환경설정이 갖추어진채로 추가가되는데요
useradd 로 사용자를 만들었을 경우엔 디렉토리 칼라 등등 환경설정이 전혀 안된채로 만들어지더라구요.
실수로 useradd 로 만든 사용자가 있는데 이 문제때문에 .bashrc 등등을 /etc/skel 에서 복사해 줬는데도 이 문제가 해결이 안됩니다 ㅜㅜ
또 어떤걸 해줘야 될까요?
답변 2개
채택된 답변
+20 포인트
https://askubuntu.com/questions/345974/what-is-the-difference-between-adduser-and-useradd
useradd is native binary compiled with the system. But,
adduser is a perl script which uses useradd binary in back-end.
adduser is more user friendly and interactive than its back-end useradd.
There's no difference in features provided.
also adduser is a wrapper for useradd.
참고하세요.
답변을 작성하려면 로그인이 필요합니다.