We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a7472c + 9bb6cab commit c6e12d1Copy full SHA for c6e12d1
src/init/adduser.sh
@@ -45,6 +45,10 @@ else
45
GROUPADD="/usr/sbin/mkgroup"
46
USERADD="/usr/sbin/useradd"
47
OSMYSHELL="/bin/false"
48
+ elif [ "$UNAME" = "OpenBSD" ]; then
49
+ GROUPADD="/usr/sbin/groupadd"
50
+ USERADD="/usr/sbin/useradd"
51
+ OSMYSHELL="/sbin/nologin"
52
else
53
# All current linux distributions should support system accounts for
54
# users/groups. If not, leave the GROUPADD/USERADD as it was before
0 commit comments