add passwd extraction of passwords

This commit is contained in:
Christoph Hartmann 2015-07-15 00:50:19 +02:00
parent 8c17ab29a5
commit dbbad50c09

View file

@ -34,6 +34,13 @@ module Serverspec
arr.length
end
def passwords
parsed = parse()
parsed.map {|x|
x.at(1)
}
end
def homedirs
parsed = parse()
parsed.map {|x|