diff options
author | jim-p <jimp@pfsense.org> | 2010-06-29 16:06:16 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-29 16:06:16 -0400 |
commit | af31b277876c2da265c8ef40d6d4da1a7cfda810 (patch) | |
tree | ffb12b724ddadae65f943af6f348e8eded7dd0ac /etc/inc/auth.inc | |
parent | 09ba7f74c35c399c46f44cd95d509e5bb6703803 (diff) | |
download | pfsense-af31b277876c2da265c8ef40d6d4da1a7cfda810.zip pfsense-af31b277876c2da265c8ef40d6d4da1a7cfda810.tar.gz |
Give users who have "all" privileges shell access. Part of ticket #614
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
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 |