forked from pool/openssh
Accepting request 141090 from home:kukuk:branches:network
- Fix groupadd arguments - Add LSB tag to sshd init script OBS-URL: https://build.opensuse.org/request/show/141090 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=41
This commit is contained in:
parent
b4cc1b8406
commit
22f435a6cb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 13 10:26:16 CET 2012 - kukuk@suse.de
|
||||
|
||||
- Fix groupadd arguments
|
||||
- Add LSB tag to sshd init script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 15:01:21 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -177,7 +177,7 @@ install -D -m 0644 %{SOURCE12} %{buildroot}%{_unitdir}/sshd.service
|
||||
%endif
|
||||
|
||||
%pre
|
||||
getent group sshd >/dev/null || %{_sbindir}/groupadd -o -r sshd
|
||||
getent group sshd >/dev/null || %{_sbindir}/groupadd -r sshd
|
||||
getent passwd sshd >/dev/null || %{_sbindir}/useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd
|
||||
%if 0%{?has_systemd}
|
||||
%service_add_pre sshd.service
|
||||
|
Loading…
Reference in New Issue
Block a user