diff --git a/system-users.changes b/system-users.changes index e0c4cdc..f2360d8 100644 --- a/system-users.changes +++ b/system-users.changes @@ -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 diff --git a/system-users.spec b/system-users.spec index bed505f..d130362 100644 --- a/system-users.spec +++ b/system-users.spec @@ -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