Skip to content

Disable sudo pribilidge for all unix users except default user (uid:1000)

Notifications You must be signed in to change notification settings

selcem-artan/disable_sudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

disable sudo permission

Disable sudo privilidge for all unix users except default user (uid:1000)

Script needs to be run with root user and "--users" flag without any arguments

# python3 sudo_disable.py  --help
usage: sudo_disable [-h] [--version] --users

This script removes sudo privilidge from non-default unix users

options:
  -h, --help  show this help message and exit
  --version   Print the version of this application
  --users     Users argument to execute sudo removal action

For sudo removal action, run script with --users flag only!

About

Disable sudo pribilidge for all unix users except default user (uid:1000)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages