_                    _
  ___ | |__   __ _ _______ | |_
 / _ \| '_ \ / _` |_  / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
 \___/|_| |_|\__,_/___\___/ \__|

user_managementusage and differences across systems

useradd : adds the given user.
adduser : interactive form of useradd.

If no options are given, the user will be created without the corresponding structure: groups, home, skel, etc.

back to top

Slackware : usermod -a -G group user : appends the group to the user groups.
OpenBSD : usermod -G group user : appends user to group.
AlpineLinux : adduser user group : adds user to group.

back to top

back to top

linux , slackware , alpinelinux , openbsd , linux_to_openbsd

- OpenBSD manpages: useradd(8) , adduser(8) , usermod(8)

back to top

ohazot | about | ohazot.com <admin@ohazot.com>

OpenBSD 7.7 linux| Created:2025-10-18|Updated:2025-10-18|