Method: Specinfra::Command::Base::User.get_minimum_days_between_password_change

Defined in:
lib/specinfra/command/base/user.rb

.get_minimum_days_between_password_change(user) ⇒ Object

[View source]

33
34
35
# File 'lib/specinfra/command/base/user.rb', line 33

def get_minimum_days_between_password_change(user)
  "chage -l #{escape(user)} | grep '^Minimum.*:' | awk -F ': ' '{print $2}'"
end