By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,551 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

how to genarate a Linux password

P: 2
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
Nov 11 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 621
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.
Nov 12 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.