Plugin that allows to run commands as someone else
Command | Help |
---|---|
add | Sudo add [<priority>] <name> {allow,deny} [<hostmask>] <regexp> Sets a new Sudo rule, called <name> with the given <priority> (greatest numbers have precedence), allowing or denying to run commands matching the pattern <regexp>, from users to run commands as wearing the <hostmask>. The <priority> must be a relative integer. If <priority> is not given, it defaults to 0. The <hostmask> defaults to your hostmask. The <hostmask> is only needed if you set an 'allow' rule. |
fakehostmask | Sudo fakehostmask <hostmask> <command> Runs <command> as if you were wearing the <hostmask>. Of course, usage of the command is restricted to the owner. |
remove | Sudo remove <id> Remove a Sudo rule. |
sudo | Sudo sudo <command> [<arg1> [<arg2> ...]] Runs the command following the Sudo rules. |