LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2003, 09:23 AM   #1
vendolis
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Encrypting Passwords in a commandline Script


Hi,

i am working to set up a Automatik Installation for RH 7.3 in the Kickstart File you are able to set the RootPW in an encryted form.
I am searching for a Script that takes a clear password from the stdin and gives back the encrypted one to the stdout.

Would be very cool if anyone has something like that or knows where I can find one. I am no real scripter.. i can modify some but since I don t know Perl or python I am not able to build up one by my self.

Thanks

Jan-Tajo
 
Old 08-29-2003, 01:29 AM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
Jan-Tajo,

openssl passwd -stdin
Make sure the openssl package is installed, but it probably is. ($ is the command line)
$ echo test1|openssl passwd -stdin
cIxaVCud2ZcI.

Good Luck,
chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need shell script to set passwords for already created users naren_0101bits Programming 2 08-28-2005 03:02 PM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 04:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 05:10 PM
Encrypting passwords when connecting to windows domain katsarosj Linux - Newbie 2 04-29-2004 09:41 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 11:59 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration