diff --git a/lib/resources/user.rb b/lib/resources/user.rb index e72c4e697..e71082255 100644 --- a/lib/resources/user.rb +++ b/lib/resources/user.rb @@ -287,14 +287,14 @@ class AixUser < UnixUser user = lsuser.stdout.chomp.split("\n").last.split(':') { - home: user[1], + home: user[1], shell: user[2], } end def credentials(username) cmd = inspec.command( - "lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime" + "lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime", ) return nil if cmd.exit_status != 0