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