LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how do i log off a user from my comp? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-log-off-a-user-from-my-comp-306982/)

einstien 03-28-2005 08:36 AM

how do i log off a user from my comp?
 
hallo
if someone is connected to me by shell and i am root

is there a command that i can use so i can log him out of my computer?

Crashed_Again 03-28-2005 09:07 AM

Find the pid of the shell he is using and kill it.

xmdms 03-30-2005 08:32 PM

Use this command:

ps -ef

find that user with the PID number than get id of that user by;

kill -9 pid_number


All times are GMT -5. The time now is 03:13 PM.