Christian Lehnert — Linux, Hacking & Faith

tag: #ubuntu

3 posts
3 weeks ago adduser vs useradd - The Debian Trap

On Debian and Ubuntu, two commands look like they do the same thing. They do not. adduser is a Perl wrapper from the adduser package. useradd is the raw binary from upstream shadow-utils. The difference catches operators who write portable scripts and expect either name to work the same way on RHEL or Alpine.

#linux #debian #ubuntu #tip-of-the-week