Article View: news.software.nntp
Article #86931Re: creating usernames and passwords
From: Avon Kerr
Date: Mon, 31 Aug 2015 07:57
Date: Mon, 31 Aug 2015 07:57
37 lines
2174 bytes
2174 bytes
Hi Julien
On Sun, 30 Aug 2015 14:48:12 +0200, Julien ΓLIE wrote:
>> 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";'
Forgive the silly question... so do I need to run both bits of code
before saving the user:password in to a file ... or do they both do the
same job but just using different approaches?
I figured I only needed to invoke htpasswd -nbd user pass - correct?
>> 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.
Thanks :)
Best, Paul
--
Agency News | news.bbs.geek.nz
Technical Details
Message-ID:
<ms11cr$j7d$3@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-mailReferences:
<mrtqom$rj1$2@news.bbs.geek.nz> <mruu2c$49d$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <ms11cr$j7d$3@news.bbs.geek.nz> Subject: Re: creating usernames and passwords Date: Mon, 31 Aug 2015 07:57:15 +0000 From: Avon Kerr <avon@bbs.geek.nz.invalid> References: <mrtqom$rj1$2@news.bbs.geek.nz> <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 Newsgroups: news.software.nntp Organization: Agency Usenet News Server - Dunedin, New Zealand Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 31 Aug 2015 07:57:15 +0000 (UTC) Injection-Info: news.bbs.geek.nz; posting-host="S8GrWPmMexyhWcasCjq9VaDqtciLHFVbgDggJyACz1I"; logging-data="19693"; mail-complaints-to="abuse@news.bbs.geek.nz" User-Agent: Pan/0.140 (Chocolate Salty Balls; Unknown) X-Antivirus: avast! (VPS 150829-2, 30/08/2015), Outbound message X-Antivirus-Status: Clean X-Received-Body-CRC: 2080015736 X-Received-Bytes: 2145