[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How determine all users logged into linux...



On Sat, Aug 21, 1999 at 09:20:25AM -0700, André Bell wrote:
> How do I determine all users who are logged into debain while they are
> logged in?
> 
> I've finally gotten apache up and running currectly and have logged in
> locally as well as logged in via telnet under a different user name at the
> same time.
> 
> Now I'd like to "see" each user, and ideally pick and choose who to log off
> without logging off other users. 
> 
> My "Special Edition Using Linux" doesn't tell how to log off a telnet'ed
> user. It only tells how to log oneself off.
> 
> Thanks

the ways to see logged-in users:

who
w
finger

the only way to "log off" a user is to kill his/her shell
you can see what pid a shell running on a certain vterminal has by running
"ps axf"
then kill a user's pid with 

kill <pid-no>

hope this helps

-- 

---------------------------------
Marcin Owsiany
porridge@pandora.info.bielsko.pl
---------------------------------


Reply to: