after adding user do:
Code:echo /etc/passwd >> /usr/local/.files echo /etc/group >> /usr/local/.files flashfs save && flashfs commit && flashfs enable && reboot
Hi All,
It is possible to add SSH user ?
Have tried ipkg "adduser", I can add the user,
but after the box get reset, user created are gone.
Anyone can advise ?
Thanks
after adding user do:
Code:echo /etc/passwd >> /usr/local/.files echo /etc/group >> /usr/local/.files flashfs save && flashfs commit && flashfs enable && reboot
Thanks for the great help. Tested, it work on firmware 1.9.2.7-10.
I would like to allow users only to do remote or local tunnel only,
should I use restricted shell ? Or anyone have better suggestion ?
I think you need to use openssh (but check the docs). dropbear will not allow you such restrictions