Re: log-out a user - How To

2003-03-31 Thread Reuben D. Budiardja
TECTED] > Subject: Re: log-out a user - How To > > > OK, this is getting weirder. > > Earlier, I did try to kill all processes run by that user manually using > ps -uax | grep username > > and then just > kill -9 pid > > Now, 'w' and 'ps -uax&#x

RE: log-out a user - How To

2003-03-31 Thread Rigler, Steve
still show up in "w" (or at least his uid), but he really will be gone from the system. -Steve -Original Message- From: Reuben D. Budiardja [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:00 AM To: [EMAIL PROTECTED] Subject: Re: log-out a user - How To OK, this is

Re: log-out a user - How To

2003-03-31 Thread Reuben D. Budiardja
On Monday 31 March 2003 10:18 am, Rigler, Steve wrote: > How about: > > fuser -k /dev/pts/12 > > Will kill all processes on that tty. > > You can also kill all processes owned by that user with something like: > > ps -ef | awk '$1 == "username" { print $2 }' | xargs kill -9 > > -Steve OK, this is

RE : log-out a user - How To

2003-03-31 Thread Yohann DESQUERRE (DSI NOISIEL)
Did you try to use Fuser "name of the command using by your user" And to use kill "number of process send by the command above" (without the letter at the end of the PID) --- Yohann Desquerre --- --

RE: log-out a user - How To

2003-03-31 Thread Rigler, Steve
How about: fuser -k /dev/pts/12 Will kill all processes on that tty. You can also kill all processes owned by that user with something like: ps -ef | awk '$1 == "username" { print $2 }' | xargs kill -9 -Steve -Original Message- From: Reuben D. Budiardja [mailto:[EMAIL PROTECTED] Sent: