ssh-sudo-check summary

Plugin Name: ssh-sudo-check
Version: 0.3.1
Author: @melezhik
Realease Date: 2016-06-17 09:19:22
Short Description: Connects to remote server by ssh and checks if user gets listed in `sudoers' group. This effectively means user has a sudo access on this server.
Category: utilities
Plugin web page: https://github.com/melezhik/ssh-sudo-check
 
Download link: ssh-sudo-check-v0.003001.tar.gz
Latest version link: https://sparrowhub.org/info/ssh-sudo-check

ssh-sudo-check documentation

SYNOPSIS

Connects to remote server by ssh and checks if user gets listed in `sudoers' group.

This effectively means user has a sudo access on this server.

INSTALL

  $ sparrow plg install ssh-sudo-check

USAGE

  $ sparrow project create cluster
  $ sparrow task add cluster sudoers ssh-sudo-check
  $ sparrow task ini cluster sudoers

  servers = 127.0.0.1,foo.bar.baz,192.168.0.0.1
  ssh_command = ssh -l foo -i ~/my_key.pem 

  users = foo,bar,superuser

  # this is the name of `sudoers' group
  # change this to something different to match your requirements
  # f.e. sudo_group = wheel
  sudo_group = sudo

  $ sparrow task run cluster sudoers

Setting parameters in runtime

  $ sparrow task run cluster sudoers --param servers=192.168.0.1,192.168.0.2 \
  --param users=foo,bar --param sudo_group=wheel

AUTHOR

Alexey Melezhik