Class: Inspec::Resources::SolarisUser
- Defined in:
- lib/resources/user.rb
Instance Attribute Summary
Attributes inherited from UnixUser
Attributes inherited from UserInfo
Instance Method Summary collapse
- #credentials(_username) ⇒ Object
-
#initialize(inspec) ⇒ SolarisUser
constructor
A new instance of SolarisUser.
Methods inherited from LinuxUser
Methods included from CommentParser
Methods included from PasswdParser
#parse_passwd, #parse_passwd_line
Methods inherited from UnixUser
#identity, #parse_id_entries, #parse_value
Methods included from Converter
Constructor Details
#initialize(inspec) ⇒ SolarisUser
Returns a new instance of SolarisUser.
279 280 281 282 283 |
# File 'lib/resources/user.rb', line 279 def initialize(inspec) @inspec = inspec @id_cmd ||= 'id -a' super end |
Instance Method Details
#credentials(_username) ⇒ Object
285 286 287 |
# File 'lib/resources/user.rb', line 285 def credentials(_username) nil end |