Project

General

Profile

Actions

Bug #4167

closed

Password length verification doesn't work

Added by Stephen Benjamin about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In app/models/host/managed.rb:

validates :root_pass, :length => {:minimum => 8, :message => _('should be 8 characters or more')}

The length verification doesn't actually work. In host_common.rb, root_pass assignment is overridden so by the time it validates root_pass, it's already a hash (and over 8 chars).


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3725: Make default root password more explicit and configurable at install timeClosedStephen Benjamin11/22/2013Actions
Actions #1

Updated by Stephen Benjamin about 10 years ago

  • Related to Feature #3725: Make default root password more explicit and configurable at install time added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • Category set to Security
  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Target version set to 1.9.2
  • translation missing: en.field_release set to 4
Actions #3

Updated by Anonymous about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF