I have created one new user according to this link "https://wiki.openwrt.org/doc/howto/secure.access" and followed the Method 2. I want to switch from root to new user in OpenWrt as I did in Ubuntu in Ubuntu using 'su -l dhaka(username)' to switch from rafsan to dhaka user. But the OpenWrt prompts "'su' is not found" .
To avoid installing extra packages, shadow-su is sufficient:
opkg install shadow-su
In order to use su, the shadow package needs to be installed.
opkg install shadow
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With