diff --git a/bin/lock_user.sh b/bin/lock_user.sh index a60790b..927c360 100755 --- a/bin/lock_user.sh +++ b/bin/lock_user.sh @@ -46,6 +46,8 @@ ssh_allow_group="sshallow"; ssh_forward_group="sshforward"; user_group_tpl="gpasswd -d %s %s\ngpasswd -a %s %s\n"; +# base folder for all data +BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/"; LOG="${BASE_FOLDER}/../log/user_management.log"; function write_log() {