mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-05-18 00:14:51 -06:00
b79cf7a7eb
Former-commit-id: 190f610ae1
8 lines
253 B
Bash
Executable file
8 lines
253 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Allow PasswordAuthentification in sshd config
|
|
sed -i -e 's|#\?\(PasswordAuthentication\) no|\1 yes|' /etc/ssh/sshd_config
|
|
|
|
# Allow root login with password
|
|
sed -i -e 's|#\?\(PermitRootLogin\) prohibit-password|\1 yes|' /etc/ssh/sshd_config
|