When I run telnetd -l /bin/sh
on an embedded Linux device and use Putty to telnet to it, the provided shell is /bin/psh
(protected shell).
On this device, /bin/sh
is a symbolic link to /bin/busybox
.
Where I can see on this system that /bin/sh
redirects to /bin/psh
?
How can I change it if /bin
is read only?
/bin/psh
in/etc/passwd
?/bin/sh
chsh
on full-blown systems). Typically your alternative shells will also have to be in/etc/shells
so as to be eligible as login shells.