#unix admin question: I have users that login to a Linux server via RDP (xrdp), ...
Sean 🤷♂️🤷♀️🤷 @seanwbruno@infosec.exchange
#unix admin question:
I have users that login to a Linux server via RDP (xrdp), xpra and ssh -X to run "things" and "stuff". I've noted that "who" or "w" or "last" or "users" all suck reporting users. The most reliable and only definitive way I've found to give me a list of users is to do something along the lines of:
ps -ef | awk '{print $1}'|sort|uniq
Then cull out the non-human logins. What do other people do in the #sysadmin world?