diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-03-31 16:56:31 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-03-31 16:56:31 +0000 |
commit | 026ebc1dee83c42ece2eb7465ef31ba77ccb01b2 (patch) | |
tree | b6873c2b62e41358c323e0502705bccd8080feee /mail/cyrus-imapd2 | |
parent | febfac9141c0c1370f340e5db3e3d2e5fa6a038a (diff) | |
download | ports-026ebc1dee83c42ece2eb7465ef31ba77ccb01b2.tar.gz ports-026ebc1dee83c42ece2eb7465ef31ba77ccb01b2.zip |
prefer /usr/sbin/nologin than /sbin/nologin when creating user cyrus.
Requested by: nork
Notes
Notes:
svn path=/head/; revision=105796
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r-- | mail/cyrus-imapd2/pkg-deinstall | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/pkg-deinstall b/mail/cyrus-imapd2/pkg-deinstall index 8bb9e0f75812..6baee3e9c8e0 100644 --- a/mail/cyrus-imapd2/pkg-deinstall +++ b/mail/cyrus-imapd2/pkg-deinstall @@ -32,7 +32,9 @@ checkfile() { modify_cyrus_user() { USER=${CYRUS_USER} 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 |