Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-12-2003, 03:39 PM   #1
Registered: Dec 2002
Posts: 35

Rep: Reputation: 15
creating encrypted passwords

how can I create an encrypted password to paste into a file?
I tried perl -e 'print crypt("newpassword",rand(100)) . "\n"'

but it didnt do anything.....
Old 01-12-2003, 03:48 PM   #2
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Eh? Have a look at your /etc/shadow file. There's MD5 encrypted passwords there!

Or your can download the package ccrypt which uses pretty strong encryption and suffixes the file with .cpt

Old 01-12-2003, 04:09 PM   #3
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
Old 01-12-2003, 04:34 PM   #4
Registered: Dec 2002
Posts: 35

Original Poster
Rep: Reputation: 15
thanks, I just discovered i have bigger problems, multiple install of the app in question. uuhhh gonna try and blow it away and go for a clean install which should resolve my password problem.


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
Qmail - Encrypted Passwords chrisfirestar Linux - Networking 9 06-25-2013 02:11 AM
Encrypted passwords on Cisco 2500 siawash Linux - Networking 5 08-10-2005 05:38 PM
Encrypted Passwords, how could I tell? wardialer Linux - Security 13 10-12-2004 02:14 PM
Matching encrypted user passwords linuxprogrammer Linux - Newbie 2 10-11-2004 11:53 PM
Moving encrypted passwords to a new host paulsm4 Linux - Software 1 09-17-2004 01:40 AM

All times are GMT -5. The time now is 05:20 AM.

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