forked from pool/system-users
Accepting request 788125 from Base:System
- Use test -x instead of -f (forwarded request 788124 from kukuk) OBS-URL: https://build.opensuse.org/request/show/788125 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/system-users?expand=0&rev=16
This commit is contained in:
commit
9282019b03
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 10:10:46 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Use test -x instead of -f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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 -x /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…
x
Reference in New Issue
Block a user