SHA256
1
0
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:
Marcus Meissner 2012-11-13 10:18:36 +00:00 committed by Git OBS Bridge
parent b4cc1b8406
commit 22f435a6cb
3 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -16,6 +16,7 @@
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start the sshd daemon
# Short-Description: Start the sshd daemon
### END INIT INFO
SSHD_BIN=/usr/sbin/sshd