access_mode should be blacklist by default

This commit is contained in:
2015-09-05 14:33:43 +03:00
parent 6460b1c312
commit f13a29f960
3 changed files with 13 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ get_allowed_users() {
msg "Running in $access_mode access mode."
case "${access_mode:-freeforall}" in
case "${access_mode:-blacklist}" in
explicit)
while IFS=':' read -r username pass uid gid description homedir shell; do
if is_whitelisted "$username"; then