Class: Inspec::Resources::SolarisUser

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

Instance Attribute Summary

Attributes inherited from UnixUser

#id_cmd, #inspec

Attributes inherited from UserInfo

#inspec

Instance Method Summary collapse

Methods inherited from LinuxUser

#meta_info

Methods included from CommentParser

#parse_comment_line

Methods included from PasswdParser

#parse_passwd, #parse_passwd_line

Methods inherited from UnixUser

#identity, #parse_id_entries, #parse_value

Methods included from Converter

#convert_to_i

Constructor Details

#initialize(inspec) ⇒ SolarisUser

Returns a new instance of SolarisUser.



281
282
283
284
285
# File 'lib/resources/user.rb', line 281

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

Instance Method Details

#credentials(_username) ⇒ Object



287
288
289
# File 'lib/resources/user.rb', line 287

def credentials(_username)
  nil
end