summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-29 16:06:16 -0400
committerjim-p <jimp@pfsense.org>2010-06-29 16:06:16 -0400
commitaf31b277876c2da265c8ef40d6d4da1a7cfda810 (patch)
treeffb12b724ddadae65f943af6f348e8eded7dd0ac /etc
parent09ba7f74c35c399c46f44cd95d509e5bb6703803 (diff)
downloadpfsense-af31b277876c2da265c8ef40d6d4da1a7cfda810.zip
pfsense-af31b277876c2da265c8ef40d6d4da1a7cfda810.tar.gz
Give users who have "all" privileges shell access. Part of ticket #614
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 4f97f24..7dab743 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -253,7 +253,7 @@ function local_user_set(& $user) {
mkdir($user_home, 0755);
/* configure shell type */
- if (!userHasPrivilege($user, "user-shell-access")) {
+ if (!(userHasPrivilege($user, "user-shell-access") || userHasPrivilege($user, "page-all"))) {
if (!userHasPrivilege($user, "user-copy-files"))
$user_shell = "/sbin/nologin";
else
OpenPOWER on IntegriCloud