Ohai!
v0.3.0 of https://github.com/nvwls/zap has been released with support for zapping users and groups. You can do things like:
zap_users ‘/etc/passwd’ do
only zap users whose uid is greater than 500
filter { |u| u.uid > 500 }
end
zap_groups ‘/etc/group’ do
filter { |g| g.gid > 500 && g.name != ‘nrpe’ }
end
Thanks to Sander Botman for all his help with this release.
Joe