Sha256: 2e466d7d6a6707da53505093906516e50d4b4d9ea87e800a264b1219bdc7b701

Contents?: true

Size: 410 Bytes

Versions: 55

Compression:

Stored size: 410 Bytes

Contents

class Specinfra::Command::Solaris::V11::User < Specinfra::Command::Solaris::Base::User
  class << self
    def get_minimum_days_between_password_change(user)
      "passwd -s #{escape(user)} | sed 's/ \\{1,\\}/%/g' | tr '%' '\n' | sed '4q;d'"
    end

    def get_maximum_days_between_password_change(user)
      "passwd -s #{escape(user)} | sed 's/ \\{1,\\}/%/g' | tr '%' '\n' | sed '5q;d'"
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
specinfra-2.82.5 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.82.4 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.82.3 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.82.2 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.82.1 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.82.0 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.81.0 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.80.0 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.79.0 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.78.2 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.78.1 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.78.0 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.77.3 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.77.2 lib/specinfra/command/solaris/v11/user.rb
specinfra-2.77.1 lib/specinfra/command/solaris/v11/user.rb