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) ...@@ -414,8 +414,6 @@ function local_user_set(&$user)
/* configure shell type */ /* configure shell type */
if (userHasPrivilege($user, 'user-shell-access')) { if (userHasPrivilege($user, 'user-shell-access')) {
$user_shell = '/bin/csh'; $user_shell = '/bin/csh';
} elseif (userHasPrivilege($user, 'user-copy-files')) {
$user_shell = '/usr/local/bin/scponly';
} }
/* unlock valid shell users */ /* unlock valid shell users */
......
...@@ -1356,9 +1356,6 @@ function upgrade_049_to_050() ...@@ -1356,9 +1356,6 @@ function upgrade_049_to_050()
case "hasshell": case "hasshell":
$privs[] = "user-shell-access"; $privs[] = "user-shell-access";
break; break;
case "copyfiles":
$privs[] = "user-copy-files";
break;
} }
} }
$user['priv'] = $privs; $user['priv'] = $privs;
......
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
"name": "User - Services - Captive portal login", "name": "User - Services - Captive portal login",
"descr": "Indicates whether the user is able to login on the captive portal." "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": { "user-shell-access": {
"name": "User - System - Shell account access", "name": "User - System - Shell account access",
"descr": "Indicates whether the user is able to login for example via SSH." "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