samba.sh fix user function documentation
This commit is contained in:
parent
e117c67795
commit
4fdac83403
1
samba.sh
1
samba.sh
@ -107,6 +107,7 @@ timezone() { local timezone="${1:-EST5EDT}"
|
||||
# name) for user
|
||||
# password) for user
|
||||
# id) for user
|
||||
# group) for user
|
||||
# Return: user added to container
|
||||
user() { local name="${1}" passwd="${2}" id="${3:-""}" group="${4:-""}"
|
||||
[[ "$group" ]] && { grep -q "^$group:" /etc/group || groupadd "$group"; }
|
||||
|
Loading…
Reference in New Issue
Block a user