When I do a shell command to show users

When I do a shell command to show users

Posted by: molipha
Posted on: 2009-06-06 13:31:00

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.

Re: When I do a shell command to show users

Posted by: sdayman
Posted on: 2009-06-06 14:45:00

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

Re: When I do a shell command to show users

Posted by: sXi
Posted on: 2009-06-07 04:56:00

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




How To Install PHP.INI / ionCube on DreamHost

Re: When I do a shell command to show users

Posted by: sdayman
Posted on: 2009-06-07 06:32:00

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

Tags: shell commandhome directory