Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 310140 Details for
Bug 452673
Special Characters in Root password of kickstart fail
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test script to compare satellite generated hash to openssl hash
passhash_test.sh (text/plain), 779 bytes, created by
Patrick Connelly
on 2008-06-24 13:28:40 UTC
(
hide
)
Description:
Test script to compare satellite generated hash to openssl hash
Filename:
MIME Type:
Creator:
Patrick Connelly
Created:
2008-06-24 13:28:40 UTC
Size:
779 bytes
patch
obsolete
>#!/bin/bash > ># Tests to see if a password hash generated by the satellite matches what ># openssl says it should be > ># Written by Patrick Connelly (pconnell@redhat.com) > >SATELLITE="satellite.example.com" > >######################################## >### #### >### DO NOT EDIT BELOW THIS LINE #### >### #### >######################################## > >KS_FILE=$1 >PASSWD=$2 > >if [ ! $# -eq 2 ] >then > echo "Usage: ./passhash_test.sh kickstart_label password" > exit 1 >fi > >KS_URL=`echo "http://$SATELLITE/kickstart/ks/view_label/$KS_FILE"` > >FULL_HASH=`wget -qO - $KS_URL | grep rootpw | awk '{print $3}'` >SALT=`echo $FULL_HASH | awk -F$ '{print $3}'` > >echo "$FULL_HASH" >echo "$PASSWD" | openssl passwd -salt $SALT -1 -stdin
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 452673
: 310140