Article View: news.software.nntp
Article #51355Re: I can make passwords, now...
From: Jeffrey M. Vinocur
Date: Wed, 21 Mar 2001 03:30
Date: Wed, 21 Mar 2001 03:30
45 lines
2902 bytes
2902 bytes
In article <m3vgp5crub.fsf@pyrophore.ogoense.net>,
Rebecca Ore <rebecca@ogoense.net> wrote:
>
>I'm using the one in the manual page that Russ suggested a couple of
>days or a week or so earlier. The script asks for name, then
>password. The result of the script is newsusers.db and "less" says
>it's a binary.
Oh. You're using `ckpasswd -d`. Gotcha. (If you've got a
relatively small number of users you might just use passwd-style
text files with `ckpasswd -f`; plaintext is nice sometimes.) The
file you've got has the same essence.
>Well, yes. Generating the database; assigning user names and
>passwords.
Ah, ok. Sure, you can write several different databases (like
the two password files in my example back a ways). But, again,
you want to avoid this if you can. The point of putting the
users in separate files is presumably so you can define access
based on which file contains them[1] by using key:. But then you
have to do other things (like static IP access) separately. If
instead you have identities with enough information in them[2],
then you can throw them all in the same password database, have
static IPs assign the appropriate identity, and then give access
based only on having things match the users: field of different
blocks.
[1] If you're doing it for efficiency or organization or
something, there's some merit there. But I don't think
that's your thought.
[2] E.g., everybody at one domain gets a certain type of access,
everybody at another some different access, and everybody
else some sort of default. (Or even make up identities with
the right information -- nobody says the identity can't be
user@somethingartificialhere.)
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<99978j$p5e$2@marduk.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<m33dcdyrvf.fsf@pyrophore.ogoense.net> <m3snkdt0wy.fsf@pyrophore.ogoense.net> <995hgd$ge6$1@marduk.litech.org> <m3vgp5crub.fsf@pyrophore.ogoense.net>Show Full Headers
Complete Article Headers
Message-ID: <99978j$p5e$2@marduk.litech.org> Subject: Re: I can make passwords, now... Date: Wed, 21 Mar 2001 03:30:27 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <m33dcdyrvf.fsf@pyrophore.ogoense.net> <m3snkdt0wy.fsf@pyrophore.ogoense.net> <995hgd$ge6$1@marduk.litech.org> <m3vgp5crub.fsf@pyrophore.ogoense.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 44 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 985145427 25774 128.84.154.54 (21 Mar 2001 03:30:27 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Wed, 21 Mar 2001 03:30:27 +0000 (UTC) X-Newsreader: trn 4.0-test75 (Feb 13, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)