forked from pool/system-users
Accepting request 787138 from home:kukuk:container
- Call usermod only if installed OBS-URL: https://build.opensuse.org/request/show/787138 OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=44
This commit is contained in:
parent
b0f7a84a97
commit
eb205050c2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 19:00:10 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Call usermod only if installed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 12:52:51 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
|
@ -166,7 +166,6 @@ This package provides the system account and group 'lp'.
|
||||
%package -n system-user-nobody
|
||||
Summary: System user and group nobody
|
||||
Group: System/Fhs
|
||||
Requires(pre): /usr/sbin/usermod
|
||||
%{sysusers_requires}
|
||||
|
||||
%description -n system-user-nobody
|
||||
@ -276,7 +275,7 @@ install -m 644 %{SOURCE20} %{buildroot}%{_sysusersdir}/system-user-tss.conf
|
||||
%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
|
||||
test -f /usr/sbin/usermod && /usr/sbin/usermod -s /bin/bash nobody ||:
|
||||
|
||||
%pre -n system-user-upsd -f upsd.pre
|
||||
%pre -n system-user-uuidd -f uuidd.pre
|
||||
|
Loading…
Reference in New Issue
Block a user