About sshd(8) PermitRootLogin=no

P J P pj.pandit at yahoo.co.in
Thu Dec 18 13:22:30 UTC 2014


   Hi,

> On Wednesday, 17 December 2014 11:55 PM, Simo Sorce  wrote:
> https://lists.fedoraproject.org/pipermail/devel/2014-November/204663.html
> These are specific cases, the problem is not crippling the general case.

  General case?


As said before, I'm not sure how the VM images are created and deployed,
the tool I use to create minimal install VMs is

  this -> https://github.com/kashyapc/virt-scripts/blob/master/create-guest-qcow2.bash

%post --erroronfail

# Enable remote root login via sshd(8)
sed -i 's/^#PermitRootLogin/PermitRootLogin/' /etc/ssh/sshd_config
%end


And adding the above small patch to the kickstart file, enables the remote root login.


---

Regards
   -Prasad
http://feedmug.com


More information about the security mailing list