summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-03-31 16:56:31 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-03-31 16:56:31 +0000
commit026ebc1dee83c42ece2eb7465ef31ba77ccb01b2 (patch)
treeb6873c2b62e41358c323e0502705bccd8080feee /security
parentAdd mplayer and tcpdump issues. (diff)
prefer /usr/sbin/nologin than /sbin/nologin when creating user cyrus.
Requested by: nork
Notes
Notes: svn path=/head/; revision=105796
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/pkg-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install
index 939107967172..ae250992f24d 100644
--- a/security/cyrus-sasl2/pkg-install
+++ b/security/cyrus-sasl2/pkg-install
@@ -25,7 +25,9 @@ create_user() {
GROUP=${CYRUS_GROUP}
PW=/usr/sbin/pw
- if [ -x /sbin/nologin ]; then
+ if [ -x /usr/sbin/nologin ]; then
+ shell=/usr/sbin/nologin
+ elif [ -x /sbin/nologin ]; then
shell=/sbin/nologin
else
shell=/nonexistent