Displaying logged in users

Hello,

Is there a way, from the CLI, to show
(a) users currently logged in
(b) history of user logins

Something similiar to "who" and "last" commands on a standard Linux machine?

Thanks,
Derek

Probably not, unless you rebuild the BusyBox package and enable those features.
By default, you can only check something like this:

ps | grep -e [s]h; netstat -a -n -p | grep -e dropbear -e uhttpd

https://forum.openwrt.org/t/last-command-alternative/98548/4

5 Likes

Thanks, that works!

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.