Commit c48ba740 authored by Franco Fichtner's avatar Franco Fichtner

users: rip out the legacy ssh tunnel shell

Shell access is sufficient, I see absolutely no value in this.
parent f0c9c1ca
...@@ -416,8 +416,6 @@ function local_user_set(&$user) ...@@ -416,8 +416,6 @@ function local_user_set(&$user)
$user_shell = '/bin/csh'; $user_shell = '/bin/csh';
} elseif (userHasPrivilege($user, 'user-copy-files')) { } elseif (userHasPrivilege($user, 'user-copy-files')) {
$user_shell = '/usr/local/bin/scponly'; $user_shell = '/usr/local/bin/scponly';
} elseif (userHasPrivilege($user, 'user-ssh-tunnel')) {
$user_shell = '/usr/local/sbin/ssh_tunnel_shell';
} }
/* unlock valid shell users */ /* unlock valid shell users */
......
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
"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."
}, },
"user-ssh-tunnel": {
"name": "User - System - SSH tunneling",
"descr": "Indicates whether the user is able to login for tunneling via SSH when they have no shell access. Note: User - System - Copy files conflicts with this privilege."
},
"user-ipsec-xauth-dialin": { "user-ipsec-xauth-dialin": {
"name": "User - VPN - IPsec xauth Dialin", "name": "User - VPN - IPsec xauth Dialin",
"descr": "Indicates whether the user is allowed to dial in via IPsec xauth (Note: Does not allow shell access, but may allow the user to create ssh tunnels)" "descr": "Indicates whether the user is allowed to dial in via IPsec xauth (Note: Does not allow shell access, but may allow the user to create ssh tunnels)"
......
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