This is very handy in headless usage/install, especially when wifi is not working/available.
However when enabled, the device is /dev/ttyGS0 and is not whitelisted by default in /etc/securetty. So root can't log in. Given that kali has no non-root user by default (like pi in stock Raspbian) this prevents login:
Jun 22 11:15:04 kali login[306]: pam_securetty(login:auth): access denied: tty '/dev/ttyGS0' is not secure !
Jun 22 11:15:08 kali login[306]: FAILED LOGIN (1) on '/dev/ttyGS0' FOR 'root', Authentication failure
Raspberry Pi Zero provides nice OTG modes to use ethernet or serial over USB/OTG. A good documentation is available at https://gist.github.com/gbaman/50b6cca61dd1c3f88f41
This is very handy in headless usage/install, especially when wifi is not working/available.
However when enabled, the device is
/dev/ttyGS0
and is not whitelisted by default in/etc/securetty
. Soroot
can't log in. Given that kali has no non-root user by default (likepi
in stock Raspbian) this prevents login: