Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
bc61fd79
Commit
bc61fd79
authored
Jun 28, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth: /usr/local/bin/scponly was never part of the base install
parent
7f4ba241
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
auth.inc
src/etc/inc/auth.inc
+0
-2
upgrade_config.inc
src/etc/inc/upgrade_config.inc
+0
-3
ACL_Legacy_Page_Map.json
...nse/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
+0
-4
No files found.
src/etc/inc/auth.inc
View file @
bc61fd79
...
...
@@ -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 */
...
...
src/etc/inc/upgrade_config.inc
View file @
bc61fd79
...
...
@@ -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
;
...
...
src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
View file @
bc61fd79
...
...
@@ -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."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment