DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th May 2008
erno erno is offline
Port Guard
 
Join Date: May 2008
Location: Finland
Posts: 12
Thanked 1 Time in 1 Post
Default Generating random passwords on FreeBSD

Install apg port or add package

Code:
cd /usr/ports/security/apg ; make install clean
pkg_add -r apg
Run command

Code:
/usr/local/bin/apg -a 1 -m 8 -n 50 |more
Read man apg for more information.

Last edited by erno; 8th May 2008 at 06:54 AM.
Reply With Quote
  #2   (View Single Post)  
Old 8th May 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

I think this guide is so short
it is better you give us many information
Reply With Quote
  #3   (View Single Post)  
Old 8th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Some website offers an online service to generate secure password.

Or try the following commands instead:

Code:
dd if=/dev/urandom count=200 bs=1 2>/dev/null|tr "\n" " "|sed 's/[^a-zA-Z0-9]//g'|cut -c-8
Code:
head -c 200 /dev/urandom | tr -cd '[:graph:]' | head -c 8
Code:
dd if=/dev/urandom count=128 bs=1 2>&1 | md5 | cut -b-8
Change the length of the password by changing the number of the command `cut -b-8`

http://foolab.org/node/1436

I know complex password is good, but its very troublesome to remember them
Reply With Quote
  #4   (View Single Post)  
Old 8th May 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Thanked 5 Times in 4 Posts
Default

I'm using this

Code:
head -c 10 /dev/random | uuencode -m -
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating passwords with jot(1) J65nko Guides 9 29th August 2014 01:03 PM
Hacking at Random 2009 (13-16 Aug, Vierhouten, NL.) Carpetsmoker Off-Topic 2 6th November 2010 04:54 PM
See what process is generating DNS traffic? Bruco FreeBSD General 3 2nd July 2009 05:57 PM
Anyone with AMD64 random panics on i386? indiocolifa FreeBSD General 13 24th March 2009 02:53 AM
Questions about encrypt local passwords aleunix OpenBSD Security 4 2nd June 2008 02:07 PM


All times are GMT. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick