Hi all,
I waned to disable login to my custom board which is running on linux 4.9 kernel version. i was able to remove a SystemD service file to stop the login from uart. I also want to disable the login from ssh. I found a solution on internet saying to add PermitRootLogin no in /etc/ssh/sshd_config, the problem is i don't have a SSHD on my board i only have ssh and able to login from other Hosts. apt-get and opkg are not working so i couldn't install sshd. i tried using ipk files and there are lot dependencies and i couldn't find all of them.
root@Htouch:/# ssh -V
Dropbear v2016.74
i don't want to disable the Ethernet and USB Ethernet, I want them to be active and prevent login as root.
Is there any way to prevent login other than installing the sshd and using its config file.
Thanks,
-Kris.