LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2002, 09:38 PM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
what is pts/#


I've just learnt about the 'who' and 'finger' commands. I know that the pts/# corrosponds to a terminal, but I'd like more information. I did a finger and saw that root was logged in since yesterday. All I'm told is that root is logged in on pts/5. I know I 'su' for some stuff. Is there a way to "kick" the user? Or to find out more about what is being done, programs being run.

Thanks,

Erik
 
Old 12-27-2002, 09:47 PM   #2
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Original Poster
Rep: Reputation: 30
curious

So, I found the 'w' command. Yet, it only lists 3 users. All me. If I finger or who, I get 7! And 5 of them have an "*" infront of the pts/#.

So when I 'w' root is not listed?

Erik
 
Old 12-27-2002, 11:18 PM   #3
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Ok, first of all you should read the man pages. they are the best documentation you'll get.

Code:
man who
man w
man finger
man ps
with ps -u <uid> you can get all the proceses a user is running. then you can kill them (man kill). to 'kick' a user you just have to see the process whose CMD (command that started the process) is bash (or some shell).

I think that reading the man pages should be enough to solve your doubts. you might also want to chek what tha root that has been logged in a few days has been doing. and if it is a network connection (pts/7 doesn't sound like a remote conection, but...)

the command w should show all users... still if you changed your uid with SU you won't see the root, you'll be detected as the first user. (you can run proceses as another user from kde usign the ALT+F2)


hope i helped-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users on pts/# ? Vgui Linux - Newbie 1 10-04-2005 11:44 AM
pts/0, pts/1 devices ?? nadine.mauch Linux - General 1 10-07-2004 11:00 AM
which pts do I use Luskacik Linux - Newbie 0 09-30-2004 10:07 AM
pts/# ever increasing and never going away. statuszero Linux - Newbie 3 08-07-2004 04:59 AM
pts with aterm WanglessOlasov Linux - Newbie 0 07-31-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration