Class: Inspec::Resources::SolarisUser

Inherits:
LinuxUser show all
Defined in:
lib/inspec/resources/users.rb

Instance Attribute Summary

Attributes inherited from UnixUser

#id_cmd, #inspec, #list_users_cmd

Attributes inherited from UserInfo

#inspec

Instance Method Summary collapse

Methods inherited from LinuxUser

#credentials, #meta_info

Methods included from Utils::CommentParser

#parse_comment_line

Methods included from Utils::PasswdParser

#parse_passwd, #parse_passwd_line

Methods inherited from UnixUser

#identity, #list_users, #parse_id_entries, #parse_value

Methods inherited from UserInfo

#collect_user_details, #credentials, #identity, #list_users, #meta_info, #user_details

Methods included from Converter

#convert_to_i, to_boolean

Constructor Details

#initialize(inspec) ⇒ SolarisUser

Returns a new instance of SolarisUser.



571
572
573
574
575
# File 'lib/inspec/resources/users.rb', line 571

def initialize(inspec)
  @inspec = inspec
  @id_cmd ||= "id -a"
  super
end