Browse Source

bugfix

feature/startup-from-labels
Mar Alegre 4 years ago
parent
commit
0513d7acfb
  1. 2
      samba/assets/bin/smbadduser

2
samba/assets/bin/smbadduser

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
if [[ -z $(getent passwd "$1") ]]; then
adduser "$1" --disabled-password --gecos "" --no-create-home --shell /usr/sbin/nologin
usermod -a -G sambashare "$1"

Loading…
Cancel
Save