.Dd Created:2025-10-18|Updated:2025-10-18| .de ocsi \\$* , .. .de oxr .ocsi .Xr \\$* .. .de oit .It \\$* .. .de obdi .Bl -dash -compact .oit \\$* .. .de obdl .Bd -literal -compact \\$* .. .de onote .Bl -hang -compact .oit \\$* .El .. .de ocomm .Bl -diag -compact .oit \\$* .El .. .de opsy .Pp .Sy - \\$* .. .de obc .Bl -column \\$* .. .de obc2 .obc opt desc .. .de obc3 .obc option arguments description .. .Dt USER_MANAGEMENT oh .Os OpenBSD 7.7 linux| .Nm user_management .Nd usage and differences across systems .Sh ADD .obc2 .It useradd Ta : adds the given user. .It adduser Ta : interactive form of useradd. .El .Ss useradd If no options are given, the user will be created without the corresponding structure: groups, home, skel, etc. .Sh MOD .obc3 .It Slackware Ta : Li usermod -a -G group user Ta : appends the group to the user groups. .It OpenBSD Ta : Li usermod -G group user Ta : appends user to group. .It AlpineLinux Ta : Li adduser user group Ta : adds user to group. .El .Sh TODO .obdi check safe cross-platform generic options. .El .Sh SEE ALSO .oxr linux oh .oxr slackware oh .oxr alpinelinux oh .oxr openbsd oh .Xr linux_to_openbsd oh .opsy OpenBSD manpages: .oxr useradd 8 .oxr adduser 8 .Xr usermod 8 .Sh AUTHORS .An -nosplit .Xr ohazot oh | .Xr about oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com