Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

RE: RE: Kill User

by Octavian (Monk)
on Oct 30, 2000 at 21:29 UTC ( [id://39141]=note: print w/replies, xml ) Need Help??


in reply to RE: Kill User
in thread Kill User

I used fuser because I was told it was safer to use on peoples programs than just doing a straight kill on them..something to do with hanging CDE or something. And it is never used as a daemon I just ran it, and when done, I hit control - c to break out.

Replies are listed 'Best First'.
RE: RE: RE: Kill User
by AgentM (Curate) on Oct 30, 2000 at 21:33 UTC
    But the user still has a small window of time to do something we he logs in. You must run this script in an infinite loop as Fastolfe mentioned, POLLING, no worse, and grepping something. If CDE was hanging with SIGKILL, then you should have tried a different signal, perhaps SIGQUIT. You have to run this wasteful script for as long as you want to block the user. I can imagine that this script is eating an unusual amount of processing time when all you need to do is block them from telnetting in, not killing their processes when you see one. This is very inefficient and unsafe code.
    AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://39141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found