f059955d31
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).
9 lines
149 B
Bash
Executable File
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
|