diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-04-12 10:40:44 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-04-12 10:40:44 +0200 |
commit | af8f910eebb9c86a034ea4e07546f41fca16b37c (patch) | |
tree | 125deaadc7bff0668570c0959d4fe862707a10bd /etc/inc/auth.inc | |
parent | 86966fba757f554967773f518ef707f461b84636 (diff) | |
parent | 127eb8e0238061ca8a66e25c2089dddc1826ec4d (diff) | |
download | pfsense-af8f910eebb9c86a034ea4e07546f41fca16b37c.zip pfsense-af8f910eebb9c86a034ea4e07546f41fca16b37c.tar.gz |
Merge remote branch 'upstream/master'
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index ec794d0..8dc0fe7 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -367,6 +367,8 @@ function local_user_set(& $user) { $user_shell = "/usr/local/bin/scponly"; } elseif (userHasPrivilege($user, "user-ssh-tunnel")) { $user_shell = "/usr/local/sbin/ssh_tunnel_shell"; + } elseif (userHasPrivilege($user, "user-ipsec-xauth-dialin")) { + $user_shell = "/sbin/nologin"; } else { $user_shell = "/sbin/nologin"; $lock_account = true; |