Exporting MD5 Hash from FD-DS into /etc/shadow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'll give this a try, but looking at /etc/shadow right now does not look
like HEX characters after the $1$. 
 
Does anyone know if this is a standard algorithm? Or if /etc/pam can use
SHA or another encryption I can easily export out of the directory
server? So far my searches seem only MD5 or crypt is what is normal for
Redhat.
 
 
 
>dennis demarco com wrote:
 

>I would like to export the MD5 hash from the Fedora directory user's
password attribute into /etc/shadow of a Linux machine not in LDAP
(Redhat). 

 

>It appears this isn't working, is there a way for me to do this? Not
all machines are using >ldap but I would like to export from ldap. 

 
 
>Hi,

>I haven't tried this, but here's an idea just off the top of my head
which _might_ work: 

 
 
>1. take away the {MD5} from the string
 
>2. base64 decode the rest of the string
 
>3. convert the string to hex
 
>4. put the $1$ at the front of the hex string
 
>5. put the whole string into the password field in /etc/shadow and test
 
 

>If that works, you could write a perl script to automate the procedure.
And report back to >the list as well :-) 

 
 
BR,
 
--
mike

 


This message (including any attachments) 
contains confidential information intended for a 
specific individual and purpose, and is protected 
by law.  If you are not the intended recipient, you 
should delete this message.  Any disclosure, 
copying, or distribution of this message, or the 
taking of any action based on it, is strictly 
prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20060418/a0315f87/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux