how to genarate a Linux password

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Baur
    New Member
    • Nov 2010
    • 2

    how to genarate a Linux password

    I have a python 2.6 front end for creating users on a RedHat RHEL4.8 platform. I am using Pmw EntryField for the entry of user info including password. the issue i am having is I am unable to recreate the encryption of the password using the "Data Encryption Standard Algorithm" (DES). lookinf for a script that might perform this encryption so I can pass the encrypted password via useradd -p password
    thanks for any help
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Encryption on Linux is generally done by calling crypt or encrypt. I'm not sure if that is true for RedHat. Look in the docs or ask on their forum if they use either one, or what they do use.

    Comment

    Working...