🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86924

Re: creating usernames and passwords

#86924
From: Julien ÉLIE
Date: Sun, 30 Aug 2015 12:48
32 lines
2006 bytes
Hi Paul,

> I have tried running from my command line the following
>
> htpasswd -nbd user pass
>
> this generates a different password each time I evoke it, but I thought
> this would generate the same password output each time given I am
> inputting a password to encode of pass ??

That's normal.  You'll notice the first 2 chars of the encoded password 
are different.
Remember that in another thread, you gave "LI" as a parameter:
   perl -e 'print "user:".crypt("pass", "LI")."\n";'


> Do I then take this output and copy and paste it into the non world
> readable file? Then point ckpasswd at it in readers.conf?

Yes.


> Confused. How can I be sure I am creating encrypted passwords reliably?

That's reliable.

-- 
Julien ÉLIE

« L'éternité, c'est long, surtout vers la fin. » (Woody Allen)

Technical Details
Message-ID: <mruu2c$49d$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <mrtqom$rj1$2@news.bbs.geek.nz>

Show Full Headers
Complete Article Headers
Message-ID: <mruu2c$49d$1@news.trigofacile.com>
Subject: Re: creating usernames and passwords
Date: Sun, 30 Aug 2015 14:48:12 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <mrtqom$rj1$2@news.bbs.geek.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Aug 2015 12:48:12 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-145-42.w86-212.abo.wanadoo.fr:86.212.128.42";
 logging-data="4397"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)
 Gecko/20100101 Thunderbird/38.2.0
In-Reply-To: <mrtqom$rj1$2@news.bbs.geek.nz>
X-Received-Body-CRC: 2824141716
X-Received-Bytes: 2001