Accept environment variable PERMITROOTLOGIN from anaconda drop-in service file (#1722928)
Anaconda pull request: https://github.com/rhinstaller/anaconda/pull/2037 Fedora change: https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
This commit is contained in:
parent
36a44721c5
commit
0b10752bbc
@ -8,7 +8,7 @@ Wants=sshd-keygen.target
|
||||
Type=notify
|
||||
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
||||
EnvironmentFile=-/etc/sysconfig/sshd
|
||||
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY
|
||||
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
|
Loading…
Reference in New Issue
Block a user