Sha256: e1d177875451e43a6263f4ce4cdc7db02c986cb3e00b3a699c4751f5fd9ebf6e

Contents?: true

Size: 405 Bytes

Versions: 55

Compression:

Stored size: 405 Bytes

Contents

class Specinfra::Command::Sles::V11::User < Specinfra::Command::Sles::Base::User
  class << self
    def get_minimum_days_between_password_change(user)
      "chage -l #{escape(user)} | sed -n 's/^Minimum://p' | sed 's|^[[:blank:]]*||g'"
    end

    def get_maximum_days_between_password_change(user)
      "chage -l #{escape(user)} | sed -n 's/^Maximum://p' | sed 's|^[[:blank:]]*||g'"
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
specinfra-2.82.25 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.24 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.23 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.22 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.21 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.20 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.19 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.18 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.17 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.16 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.15 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.14 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.13 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.12 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.11 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.10 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.9 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.8 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.7 lib/specinfra/command/sles/v11/user.rb
specinfra-2.82.6 lib/specinfra/command/sles/v11/user.rb