Commit bc61fd79 authored by Franco Fichtner's avatar Franco Fichtner

auth: /usr/local/bin/scponly was never part of the base install

parent 7f4ba241
......@@ -414,8 +414,6 @@ function local_user_set(&$user)
/* configure shell type */
if (userHasPrivilege($user, 'user-shell-access')) {
$user_shell = '/bin/csh';
} elseif (userHasPrivilege($user, 'user-copy-files')) {
$user_shell = '/usr/local/bin/scponly';
}
/* unlock valid shell users */
......
......@@ -1356,9 +1356,6 @@ function upgrade_049_to_050()
case "hasshell":
$privs[] = "user-shell-access";
break;
case "copyfiles":
$privs[] = "user-copy-files";
break;
}
}
$user['priv'] = $privs;
......
......@@ -7,10 +7,6 @@
"name": "User - Services - Captive portal login",
"descr": "Indicates whether the user is able to login on the captive portal."
},
"user-copy-files": {
"name": "User - System - Copy files",
"descr": "Indicates whether the user is allowed to copy files onto the appliance via SCP\/SFTP."
},
"user-shell-access": {
"name": "User - System - Shell account access",
"descr": "Indicates whether the user is able to login for example via SSH."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment