Skip to content

Parses sudoers file and expands aliases and groups for given users to determine who and what can run commands as that user.

Notifications You must be signed in to change notification settings

soinkleined/parsesudoers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Info

Usage: parsesudoers -u user
       parsesudoers -u user1,user2
       parsesudoers -u user1 -u user2
       parsesudoers -u user -f file
       parsesudoers -u user [-deFPp]
       parsesudoers -a
       parsesudoers -h
       parsesudoers -V

Parses sudoers file and expands aliases and groups for given users to determine who and what can run commands as that user.

Arguments:
 -a, --all              match all sudoers rules
 -d, --debug            print debugging information
 -e, --expand-group     expand group names into member lists
 -f, --file             path to sudoers file
 -F, --fqdn             prefix fully qualified hostname
 -H, --human-readable   will not expand groups and prints commands on several lines
 -h, --help             print this help and exit
 -P, --prefix-text      prefix arbitrary text
 -p, --prefix-user      prefix query user
 -u, --user             user(s) to query
 -V, --version          output version information and exit

Report bugs to <[email protected]>

Acknowledgments

About

Parses sudoers file and expands aliases and groups for given users to determine who and what can run commands as that user.

Topics

Resources

Stars

Watchers

Forks

Languages