Class: Inspec::Resources::SolarisUser
- Defined in:
- lib/inspec/resources/users.rb
Instance Attribute Summary
Attributes inherited from UnixUser
#id_cmd, #inspec, #list_users_cmd
Attributes inherited from UserInfo
Instance Method Summary collapse
-
#initialize(inspec) ⇒ SolarisUser
constructor
A new instance of SolarisUser.
Methods inherited from LinuxUser
Methods included from Utils::CommentParser
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
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 |