Class: TargetIO::Shadow::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/chef/target_io/shadow.rb

Overview

sp_namp - pointer to null-terminated user name. sp_pwdp - pointer to null-terminated password. sp_lstchg - days since Jan 1, 1970 password was last changed. sp_min - days before which password may not be changed. sp_max - days after which password must be changed. sp_warn - days before password is to expire that user is warned of pending password expiration. sp_inact - days after password expires that account is considered inactive and disabled. sp_expire - days since Jan 1, 1970 when account will be disabled sp_loginclass - pointer to null-terminated user login class.

Instance Attribute Summary collapse

Instance Attribute Details

#sp_expireObject

Returns the value of attribute sp_expire

Returns:

  • (Object)

    the current value of sp_expire



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_expire
  @sp_expire
end

#sp_inactObject

Returns the value of attribute sp_inact

Returns:

  • (Object)

    the current value of sp_inact



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_inact
  @sp_inact
end

#sp_loginclassObject

Returns the value of attribute sp_loginclass

Returns:

  • (Object)

    the current value of sp_loginclass



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_loginclass
  @sp_loginclass
end

#sp_lstchgObject

Returns the value of attribute sp_lstchg

Returns:

  • (Object)

    the current value of sp_lstchg



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_lstchg
  @sp_lstchg
end

#sp_maxObject

Returns the value of attribute sp_max

Returns:

  • (Object)

    the current value of sp_max



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_max
  @sp_max
end

#sp_minObject

Returns the value of attribute sp_min

Returns:

  • (Object)

    the current value of sp_min



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_min
  @sp_min
end

#sp_nampObject

Returns the value of attribute sp_namp

Returns:

  • (Object)

    the current value of sp_namp



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_namp
  @sp_namp
end

#sp_pwdpObject

Returns the value of attribute sp_pwdp

Returns:

  • (Object)

    the current value of sp_pwdp



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_pwdp
  @sp_pwdp
end

#sp_warnObject

Returns the value of attribute sp_warn

Returns:

  • (Object)

    the current value of sp_warn



16
17
18
# File 'lib/chef/target_io/shadow.rb', line 16

def sp_warn
  @sp_warn
end