- dovenull is unauthorized user, needs own dovenull group
This commit is contained in:
parent
84d3af1913
commit
54620ffdc5
@ -5,7 +5,7 @@ Summary: Secure imap and pop3 server
|
|||||||
Name: dovecot
|
Name: dovecot
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.0
|
Version: 2.0
|
||||||
Release: 0.11%{?betasuffix}.%{?snapsuffix}%{?dist}
|
Release: 0.12%{?betasuffix}.%{?snapsuffix}%{?dist}
|
||||||
#dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+
|
#dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+
|
||||||
License: MIT and LGPLv2 and GPLv2+
|
License: MIT and LGPLv2 and GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -234,10 +234,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group dovecot >/dev/null || groupadd -r dovecot
|
getent group dovecot >/dev/null || groupadd -r dovecot
|
||||||
|
getent group dovenull >/dev/null || groupadd -r dovenull
|
||||||
getent passwd dovecot >/dev/null || \
|
getent passwd dovecot >/dev/null || \
|
||||||
useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot
|
useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot
|
||||||
getent passwd dovenull >/dev/null || \
|
getent passwd dovenull >/dev/null || \
|
||||||
useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot login process" dovenull
|
useradd -r -g dovenull -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot's unauthorized user" dovenull
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -372,6 +373,9 @@ make check
|
|||||||
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.12.beta5.20100515
|
||||||
|
- dovenull is unauthorized user, needs own dovenull group
|
||||||
|
|
||||||
* Tue May 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.11.beta5.20100515
|
* Tue May 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.11.beta5.20100515
|
||||||
- fix typo in dovenull username
|
- fix typo in dovenull username
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user