vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Miod Vallat dixit: >> >...but beware, you might want to "pgrep -l $FOO" before you >> >"pkill $FOO", particularly where FOO=ssh... >> >> If your ssh(1) runs as root, you've done something wrong anyway. > >Did you realize pgrep ssh matches sshd? Sure, but if I execute 'sudo pkill ssh' I've done more than that wrong. ('sudo -u someotheruser pkill ssh' works as well) //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt |