-
Notifications
You must be signed in to change notification settings - Fork 7
st_shell
Davide Depau edited this page Apr 13, 2018
·
1 revision
/bin/st_shell is lanadmin's default shell.
# cat /etc/passwd
admin: ... :0:0:Administrator:/:/bin/sh
support: ... :0:0:Technical Support:/:/bin/sh
user: ... :0:0:Normal User:/:/bin/sh
nobody: ... :0:0:nobody for ftp:/:/bin/sh
lanadmin: ... :0:0:SSH User:/:/bin/st_shell ←
Note:
adminhas UID 0 ⇒ is root
It's the shell you're dropped into when you connect from SSH.
Hidden commands don't show up in the help page and require authentication.
-
sh- Runs a root/admin shell -
ifconfig- Tries to runifconfig, miserably failing as it's not in$PATH
-
STshell_dbg- Seems to enable debugging output in some cases. -
username.hiddencmd,password.hiddencmd- Login info (in clear text, obv) for hidden commands.
While a bunch of st_shell's commands are written in C (all voice subcommands), a lot of them are shell scripts.
/usr/sbin/stshell/