|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
how do i kick users off line. when i type w i see Mike pts/0 leg-64 11:28pm 0.00s 0.15s 0.01s w root pts/1 :0 11:31pm 1:13 0.06s 0.02s vi /etc/ftpaccess i want to boot Mike offline...how do i do that? many thanks |
| Sponsored Links | |
|
|
|
#3
|
||||
|
||||
|
i dunt think so. The -k option only works on processes. If the user is the kernel, fuser will print an advice, but take no action
beyond that. One way (the best way) to kick the user out from the System is to write a script in Csh or Ksh and set it on the root directory. Might help |
|
#4
|
|||
|
|||
|
try
who -u this will list users logged on system including their process id(pid) on colume 7 then issue kill -9 (pid) |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
You could always identify the pid of the shell being used on the terminal and then kill the shell. It's a tad bit abrupt, though.
|
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
Dammit, why does everyone always use kill -9 first? That would bother the hell out of me if you were on my system... Anyways, depending on the reason (if you wanted everyone out for system maint or backups), you might want to look into going into single-user mode. If you're just trying to be a jerk, try: Code:
kill -9 0 |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| do i need these users? | csaunders | Solaris | 3 | 04-11-2006 01:45 PM |
| users of a particular dir | narsing | UNIX for Dummies Questions & Answers | 1 | 02-07-2006 07:34 AM |
| kicking a telneted user from the system | crashnburn | UNIX for Dummies Questions & Answers | 3 | 11-01-2002 05:54 AM |
|
|