plugins/users/users_inspector.rb in machinery-tool-1.22.0 vs plugins/users/users_inspector.rb in machinery-tool-1.22.1

- old
+ new

@@ -23,10 +23,10 @@ @description = description end def inspect(_filter, _options = {}) passwd = @system.read_file("/etc/passwd") - shadow = @system.read_file("/etc/shadow") + shadow = @system.read_file("/etc/shadow", privileged: true) users = passwd ? parse_users(passwd, shadow) : [] @description.users = UsersScope.new(users.sort_by(&:name)) end