SHA256
1
0
forked from pool/system-users

Accepting request 517842 from Base:System

- user nobody: move usermod to %post, else it will be executed
  before the user is created. (forwarded request 517841 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/517842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/system-users?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2017-08-29 09:35:48 +00:00 committed by Git OBS Bridge
commit 86b9cb9032
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 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-ftp -f ftp.pre
%pre -n system-user-lp -f lp.pre %pre -n system-user-lp -f lp.pre
%pre -n system-user-nobody -f nobody.pre %pre -n system-user-nobody -f nobody.pre
%post -n system-user-nobody
/usr/sbin/usermod -s /bin/bash nobody /usr/sbin/usermod -s /bin/bash nobody
%pre -n system-user-upsd -f upsd.pre %pre -n system-user-upsd -f upsd.pre