useradd 와 adduser 차이에 대한 문제

useradd 와 adduser 차이에 대한 문제

QA

useradd 와 adduser 차이에 대한 문제

답변 2

본문

adduser 로 사용자를 만들면 디렉토리 칼라 ll 명령어 등 모든 환경설정이 갖추어진채로 추가가되는데요

useradd 로 사용자를 만들었을 경우엔 디렉토리 칼라 등등 환경설정이 전혀 안된채로 만들어지더라구요.

 

실수로 useradd 로 만든 사용자가 있는데 이 문제때문에 .bashrc 등등을 /etc/skel 에서 복사해 줬는데도 이 문제가 해결이 안됩니다 ㅜㅜ

또 어떤걸 해줘야 될까요?

이 질문에 댓글 쓰기 :

답변 2

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.

참고하세요.

답변을 작성하시기 전에 로그인 해주세요.
전체 1
© SIRSOFT
현재 페이지 제일 처음으로