Skip to content

script to replicate sudoer foles on several servers from an intermediate server with public key in a remote machine's authorized_keys

Notifications You must be signed in to change notification settings

krbu/replica_sudos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

replica_sudos

script to replicate sudoer files on several servers from an intermediate server with public key in a remote machine's authorized_keys

usage

Usage: ./replica_sudos.sh [OPTIONS...]

Change Types:

-u USER User with admin privileges.

-S SERVERS file with the servers to apply.

-s SUDOS Comma separated sudo groups list. If this parameter is not specified all files located on /etc/sudoers.d will be processed

Examples:

./replica_sudos.sh -u user -S servers_list.txt

./replica_sudos.sh -u user -S servers_list.txt -s monteam,dbateam,unixteam

About

script to replicate sudoer foles on several servers from an intermediate server with public key in a remote machine's authorized_keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages