개발/linux & tools

adduser 와 useradd

조앙'ㅁ' 2017. 10. 30. 14:31

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.


제공하는 기능은 같은데 useradd는 system에 원래 있는거고, adduser는 설치해서 씀. 근데 adduser 가 쓰기 더 편해서 쓴다.

ref: https://askubuntu.com/questions/611954/when-to-use-adduser-or-useradd