Sunday, 30 June 2013

(c)Difference between “adduser” and “useradd”?

useradd is native binary compiled with the system. But, adduser is a perl script which usesuseradd binary in back-end.
adduser is more user friendly and interactive than its back-end useradd. There's no difference in features provided.
&
At the end, all I can say for sure is that different operating systems have adduser as an alternative to useradd whose functionality is distro-specific. It can be just a simple alias to useradd or a script with additional options.

No comments: