Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.
/ kick-user-script Public archive

Script that makes kicking people out of your Linux/Unix server easy.

License

Notifications You must be signed in to change notification settings

rudissaar/kick-user-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

kick-user.sh

Make link or place kick-user.sh to folder included in your user's PATH variable and name it to kick, after that you are ready to use this script, but it's really optional. If you are non-root user, you need to have sudo installed on system and you also need to be in sudoers group to use sudo itself.

Usage:    kick [username] [-r|-s|-l]
Example:  kick john
Example:  kick john -r
Example   kick -r john

Flags:
  -r      Kick only remote client (ssh).
  -s      Kick from all shells (including ssh). (default)
  -l      Same as -s, but it also locks account after being kicked.

You can now change default flag inside script and it will show up in help.

Dependencies:

  • sudo

Author

  • Author: Kevin Rudissaar
  • Email: kevin.rudissaar[at]gmail.com
  • Twitter: @KevinRudissaar

Donate

If you found this script really useful or if you would just like to donate to developer, you can use following donation methods:

Donate via PayPal

BTC: 1HZNkcukFHYF5FKPTvsTnNQNiGQTHZcbR7

Releases

No releases published

Packages

No packages published

Languages