mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
auth: /usr/local/bin/scponly was never part of the base install
This commit is contained in:
parent
7f4ba24125
commit
bc61fd7936
@ -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."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user