When I do a shell command to show users


#1

do I see users logged in to the entire box, or just those in my home directory? I’m guessing it must be the entire box.

Thanks.


#2

It should only show you. In which directory they are at the moment doesn’t matter. For security reasons, only root can see who all is logged in. Just as the ‘top’ command shows only your processes.

-Scott


#3

It’ll show everyone who’s currently logged into the box :wink:

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#4

Dagnabbit. I’ve always been using the ‘w’ command, which shows who’s logged in and what they’re doing. Using the ‘who’ command shows who’s logged in and from where. The ‘w’ command would reveal more, which is probably why it’s crippled here.

-Scott