for simplicity, type
init 1; init 3
that switches between single user mode and then back, bit harsh though, on
second thought nah just kill off the processes. Do a ps -aux | grep -i
login. Kill -9 (offending PIDs)
--steve
-----Original Message-----
From: Gregory Cox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Users??
My advice is to stick to the "simple".
I prefer to use
ps -ef to obtain the Pid of the login question.
Then, as the others suggested, use kill on the PID.
However, with ps -aef, you can tell what that user is doing and what
PID is attached to the task. Incidentally, if you "kill" the lowest PID#
for the user, that SHOULD kill all the tasks the user started (unless they
were using nohup).
Enjoy.
>From: "Steven Pierce" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Users??
>Date: Tue, 11 Jul 2000 21:10:50 -0700
>
>
>
>Hi There,
>
>I am a newbie so please bare with me for some simple ( to most) questions.
>I have a Linux server and I logged in last night three times. I was
>checking some
>of the log in's that I set up. After I was done, I had closed the screen
>that I was
>using. Forgetting to log off as those users.
>
>Later on I found out what I had done. It was not an issue because I know
>it was
>me that was there. My question is if I am looking at TOP and I see that
>there is users on my machine that do not belong there, how can I get
>them off??
>
>If I do # users it will give me
>steven erin root.
>
>I want to kick off Erin, what would be the process short
>of reboot the machine. I have looked in books read man pages. Nothing
>gives you specific information on kicking off a user. I know that I could
>also close the account, but I just set them up that is not the
>process I want to take.
>
>Thank you for the (any) help.
>
>Steven
>
>
>--
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.