Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ssh / admin question

ryanryan Member Posts: 43
How would i disconnect a user from my box.
They log in w. ssh.
How would I disconnect them?
Is it just ps -ef | grep loginname
Then kill pid?

Or is there something else?

Comments

  • wsewse Member Posts: 2
    : How would i disconnect a user from my box.
    : They log in w. ssh.
    : How would I disconnect them?
    : Is it just ps -ef | grep loginname
    : Then kill pid?
    :
    : Or is there something else?
    :

    hi

    I would go one better and and put the kill statement on the same line, and make a little automatic kill script. Maybe on where a tail flag lets you specify the username. Oh the power.

    Can't see why not on ssh if you are root. Should blow 'em away anyway.






Sign In or Register to comment.