[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: log-out a user - How To
- From: "Rigler, Steve" <SRigler MarathonOil com>
- To: <redhat-list redhat com>
- Subject: RE: log-out a user - How To
- Date: Mon Mar 31 10:19:02 2003
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:reubendb innovativethought com]
Sent: Monday, March 31, 2003 9:21 AM
To: redhat-list redhat com
Subject: log-out a user - How To
Hi,
I have an idle user log in from pts/12. I think it's an artifact because the
user was using vncviewer, and then when I killed the vncserver, the login is
still there. I want to delete the user (using userdel) from my system but I
can't because it says the user is login.
How do I log him out from that session? Of course, I have a root access.
Thanks.
RDB
--
-------------------------------------------------
/"\ ASCII Ribbon Campaign against HTML
\ / email and proprietary format
X attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]