[sudo-users] Parsing the sudoers file
Michael W. Lucas
mwlucas at michaelwlucas.com
Tue Sep 24 04:21:25 MDT 2013
On Tue, Sep 24, 2013 at 11:14:23AM +0100, Tim Bradshaw wrote:
> On 23 Sep 2013, at 23:29, Kevin Chadwick wrote:
> > Surely grep and hostname perhaps with a ssh logged into all systems at
> > once and a little sorting of the produced file on a networked filesystem
> > afterwards is all that you need?
> That would be nice, so long as there weren't too many machines, there was a list of what the machines were, and they were all accessible from a single place. None of those things are true in my case unfortunately.
> This sounds like I'm being sarcastic. It's not meant to be, sorry: I dream of working somewhere where the IT infrastructure doesn't resemble the decaying fragments of a collapsed civilisation, but I realise I never will.
Definitely sounds like a something that could be automated with Ansible.
But yes, you need to have information first...
Michael W. Lucas - mwlucas at michaelwlucas.com, Twitter @mwlauthor
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.
More information about the sudo-users