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.91.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.90.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.90.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.89.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.88.2 lib/specinfra/command/sles/v11/user.rb
specinfra-2.88.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.88.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.87.2 lib/specinfra/command/sles/v11/user.rb
specinfra-2.87.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.87.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.86.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.85.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.85.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.84.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.84.0 lib/specinfra/command/sles/v11/user.rb
specinfra-2.83.4 lib/specinfra/command/sles/v11/user.rb
specinfra-2.83.3 lib/specinfra/command/sles/v11/user.rb
specinfra-2.83.2 lib/specinfra/command/sles/v11/user.rb
specinfra-2.83.1 lib/specinfra/command/sles/v11/user.rb
specinfra-2.83.0 lib/specinfra/command/sles/v11/user.rb