Skip to content

Bash script that takes a sudoers config validates it and adds it to /etc/sudoers.d/{sudoers-file-name}

License

Notifications You must be signed in to change notification settings

wmantly/sudoers-add

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

sudoers-add

Bash script that takes a sudoers config validates it and adds it to /etc/sudoers.d/{sudoers-file-name}

Usage

sudoers-add [file_path] [sudoers-file-name]

[content] | sudoers-add sudoers-file-name

This will take a sudoers config validate it and add it to /etc/sudoers.d/{sudoers-file-name}

The config can come from a file, first usage example or piped in second example.

About

Bash script that takes a sudoers config validates it and adds it to /etc/sudoers.d/{sudoers-file-name}

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages