Results 1 to 3 of 3

Thread: autoyast password hash

  1. #1
    Join Date
    Jun 2008
    Location
    Kaneohe, HI
    Posts
    129

    Default autoyast password hash

    Is there a means to generate a hash of a password to be used in an autoyast file? I'm trying to sort out how to create create an interface for building autoyast files for Xen machines and would like the option of entering a password which will be hashed and inserted into the file.

    I guess a better question would be whether or not openSUSE uses a simple means to do this such as an sha1 or md5 hash.

  2. #2
    ab@novell.com NNTP User

    Default Re: autoyast password hash

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Have you tried tinkering with the Autoyast-creator thingy in Yast? It's
    in the Miscellaneous section, I believe, but it lets you create an
    AutoYast file as you like it and I suspect it would include this.
    Otherwise, it's probably just the hash value from the 'shadow' file and
    could therefore take a properly-formatted md5sum. Hopefully somebody
    who has done this can confirm/refute shortly.

    Good luck.





    theillien wrote:
    | Is there a means to generate a hash of a password to be used in an
    | autoyast file? I'm trying to sort out how to create create an
    | interface for building autoyast files for Xen machines and would like
    | the option of entering a password which will be hashed and inserted
    | into the file.
    |
    | I guess a better question would be whether or not openSUSE uses a
    | simple means to do this such as an sha1 or md5 hash.
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIgRHl3s42bA80+9kRAkqoAJ9HlpIELdtK5xgIUg6SBCh019r8lACfXBTu
    YkYQWsxOZ2SdNtCJOn+4yUk=
    =ZMgx
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    Kaneohe, HI
    Posts
    129

    Default Re: autoyast password hash

    Yeah, I got the autoyast.xml file and it has a hash of the password on the system I created it on. What I'd like to do is use this as a template and change it based on the values entered into a web UI. For the password I'd like to provide a field into which a masked password can be entered and when the form is processed, hash the password for insertion into the autoyast file.

    -Mathew

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •