mkimage-profiles/features.in/armh/rootfs/image-scripts.d/50-sshd-root
Michael Shigorin f059955d31 armh: employ control feature
As 50-sudo-su script cares for sudo and su control facilities no more
that hook is aptly renamed to 50-sshd-root (should be generalized
either some day).
2013-07-15 13:56:00 +04:00

9 lines
149 B
Bash
Executable File

#!/bin/sh
# poor man's root switch
# NB: 50-users creates predefined users
cat >> /etc/openssh/sshd_config << EOF
PermitRootLogin yes
UseDNS no
EOF