From 6a5deaff7cd9710f9267f48001d4331958bacd45 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 7 Jun 2012 22:09:26 -0700 Subject: Move sshpw handling out of Anaconda This creates an ExecStartPre on the anaconda-sshd.service that will check for a kickstart entry for sshpw. It will add/modify users accordingly prior to launching the sshd service. Since now sshpw and sshd bring up happens outside of and before anaconda starts, we can remove sshd.py and any reference to it. --- data/systemd/anaconda-sshd.service | 1 + 1 file changed, 1 insertion(+) (limited to 'data') diff --git a/data/systemd/anaconda-sshd.service b/data/systemd/anaconda-sshd.service index ca1f87c10..2588a533a 100644 --- a/data/systemd/anaconda-sshd.service +++ b/data/systemd/anaconda-sshd.service @@ -6,5 +6,6 @@ After=syslog.target network.target [Service] EnvironmentFile=/etc/sysconfig/sshd ExecStartPre=/usr/sbin/sshd-keygen +ExecStartPre=/usr/sbin/handle-sshpw ExecStart=/usr/sbin/sshd -D $OPTIONS -f /etc/ssh/sshd_config.anaconda ExecReload=/bin/kill -HUP $MAINPID -- cgit