Project

General

Profile

Actions

Feature #1392

closed

change root password back to system wide defaults

Added by Steve Traylen over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman 0.4.0

If we go to a host and try and edit or delete the root password then the yaml seems to end up
with something bizarre in it.

root_pw: $1$foreman$mScJrIfRylirlhmRGTArV0

We did not add a $foreman in our password string, in the case below the password was entered as 'abc'.

Attached screenshot shows where we are changing the root password for the kickstart file.

Here is the log entry:

Processing HostsController#update (for 137.138.35.29 at 2011-12-14 12:08:50) [PUT]
  Parameters: {"commit"=>"Submit", "action"=>"update", "_method"=>"put", "authenticity_token"=>"idvGaySYtzsszlUcNISGOxHV8Y7tCxrDszSkiGqKjm8=", 
"id"=>"lxfssm4403.cern.ch", "controller"=>"hosts", "host"=>{"comment"=>"", "architecture_id"=>"1", "subnet_id"=>"1", "managed"=>"1", "puppetproxy_id"=>"", 
"name"=>"lxfssm4403", "host_parameters_attributes"=>{"0"=>{"name"=>"nova_node_availability_zone", 
"nested"=>"", "id"=>"154", "value"=>"batch", "_destroy"=>""}}, "sp_mac"=>"", "puppetmaster_name"=>"punch.cern.ch",
 "sp_name"=>"", "mac"=>"00:e0:ed:0e:60:ae", "domain_id"=>"1", "enabled"=>"1", "root_pass"=>"[FILTERED]",
 "medium_id"=>"6", "hostgroup_id"=>"3", "is_owned_by"=>"20-Users", "ptable_id"=>"9", "sp_subnet_id"=>"", "ip"=>"10.32.22.10",
 "environment_id"=>"6", "model_id"=>"4", "disk"=>"", "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"9"}}
Redirected to https://punch.cern.ch/hosts/lxfssm4403.cern.ch
Completed in 35ms (DB: 5) | 302 Found [https://punch.cern.ch/hosts/lxfssm4403.cern.ch]

And finally a related question. Are we meant to adding the root password or the crypt of the password
in this box.


Files

root.tiff View root.tiff 44.8 KB screenshot of one host edit. Steve Traylen, 12/14/2011 06:16 AM
Actions

Also available in: Atom PDF