Project

General

Profile

Actions

Bug #1084

closed

OpenSUSE / SLES deployment root password not working

Added by Oliver Weinmann over 13 years ago. Updated about 13 years ago.

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

Description

Hi,

I noticed that the root password entered in the host creation phase is not correctly applied to the deployed machine. I guess because SUSE is using a different alogorithm as the one that is used in foreman. Maybe Suse is using md5sum. I googled a lot for it but couldn't find any clear details what is used in Suse.

Regards,
Oliver


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #722: Root password doesn't preseed on UbuntuResolved03/09/2011Actions
Actions #1

Updated by Ohad Levy over 13 years ago

You are probably correct, the handling of encoding the password should be moved away to the OS layer, so each OS should handle the encryption it self.

I'm assuming most OS's support md5sum, and only solaris is still on crypt, however I'm not certain, would be great if anyone could contribute some knowledge here :)

Actions #2

Updated by Oliver Weinmann over 13 years ago

Hi Ohad,

I just deployed a new machine (SLES 11) I'm testing some things with provisioning here. Now the password worked. I found a type in the default OpenSUSE Provisioning template. Maybe the typo was my mistake?

I changed:

<%= root_pass %>/

to:

<%= root_pass %>

Now it works. :)

Actions #3

Updated by Ohad Levy over 13 years ago

  • Category set to Unattended installations
  • Target version set to 0.4

great, do you want to send a git patch?

Actions #4

Updated by Oliver Weinmann over 13 years ago

I would love to. But I have no clue how to do this. :)

Actions #5

Updated by Ohad Levy over 13 years ago

something like:

read though Contribute

and then something like this:

cd /tmp
git clone git://github.com/ohadlevy/foreman.git foreman
cd foreman
vim app/views/unattended/autoyast.xml.erb 
git diff
git ci app/views/unattended/autoyast.xml.erb -m "fixes #1084 - OpenSUSE / SLES deployment root password not working" 
rake mail_patches

Actions #6

Updated by Ohad Levy over 13 years ago

  • Assignee set to Oliver Weinmann
Actions #7

Updated by Ohad Levy over 13 years ago

sadly i never got the patch, mind attaching the git formatted patch here instead ?

Actions #8

Updated by Ohad Levy about 13 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF