C3rd
How do you kick a benign user off your system?
Posted: 7 Dec 2016, 22:17pm - WednesdayThere's probably an easier way, but I do this: See who's logged into your machine -- use who -u:
root@alphaone:~# who -u root pts/1 2016-12-08 11:02 . 7953 (192.168.0.99) camilord pts/2 2016-12-08 10:59 . 7625 (192.168.0.7)Laugh at their impending disconnection (this step is optional, but encouraged)
root@alphaone:~# echo "HAHHAHAHAHAHA... BYE!" | write root pts/1 write: write: you have write permission turned off.Kill the corresponding process:
root@alphaone:~# kill -9 7953Reference: http://unix.stackexchange.com/questions/615/how-do-you-kick-a-benign-user-off-your-system
Search
Categories
Related Links
- Apache Web Server
- ASP Immigration Services Ltd.
- CentOS Linux
- Color Scheme Picker
- CSS Button Generator
- Deviant Art Account
- Don Tabaniag - GraphiCult
- Jerson Maglasang Weblog
- Joshua Manlunas
- Mark "mungkey" Vicente
- Matt Arnilo Baluyos
- MySQL
- Paul Labis
- PHP
- PrendStar
- Ridvan Baluyos
- Scott Davies
- SEO Fart XML-RPC Ping Tool
- Stripes Generator
- The Hero
- Ubuntu Linux
- Vim Carlo Nabora (DA)
- Wella Maria Hong
- What is my IP?
- Xavier University - Ateneo de Cagayan
- Zabyer Community