diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index ab72b9105..ff0c2047e 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -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 */ diff --git a/src/etc/inc/upgrade_config.inc b/src/etc/inc/upgrade_config.inc index 9be7e05f0..1d770d79c 100644 --- a/src/etc/inc/upgrade_config.inc +++ b/src/etc/inc/upgrade_config.inc @@ -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; diff --git a/src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json b/src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json index af4e399ee..9f492830d 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json +++ b/src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json @@ -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."