3
0
forked from pool/system-users

Accepting request 517841 from home:kukuk:sysusers

- user nobody: move usermod to %post, else it will be executed
  before the user is created.

OBS-URL: https://build.opensuse.org/request/show/517841
OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=25
This commit is contained in:
Thorsten Kukuk 2017-08-21 07:07:45 +00:00 committed by Git OBS Bridge
parent 81aac1eae8
commit c66194d537
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 21 08:48:31 CEST 2017 - kukuk@suse.de
- user nobody: move usermod to %post, else it will be executed
before the user is created.
-------------------------------------------------------------------
Mon Jul 10 09:33:46 UTC 2017 - dimstar@opensuse.org

View File

@ -238,6 +238,7 @@ install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
%pre -n system-user-ftp -f ftp.pre
%pre -n system-user-lp -f lp.pre
%pre -n system-user-nobody -f nobody.pre
%post -n system-user-nobody
/usr/sbin/usermod -s /bin/bash nobody
%pre -n system-user-upsd -f upsd.pre