🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55590

Re: Is there a hack to support paswords that contain spaces?

#55590
From: Jeremy
Date: Mon, 10 Dec 2001 09:05
73 lines
4407 bytes
Curt Welch <curt@kcwc.com> wrote:

> If you try to fix this bug by changing INN, but the newsreader the user
> is using doesn't allow them to enter their passwords, then you have
> fixed nothing.  What you have done is turned a "paswords with spaces
> don't work for NNTP" support issue, into a "passwords with spaces sometimes
> don't work with NNTP" support problem.  Or the "passwords with spaces works
> as long as you don't start or end your password with spaces" type of
> problem.

Honestly, that sounds like much less of a problem, from a support
standpoint.  Yes, I did tech support for far too long, so I think I
have a reasonable basis to make that judgement. :)

This gives you the option, if a user calls asking why his password
doesn't work, of recommending that he might try another newsreader,
in addition to the recommendation that he change his password.  That
is, to me, a good thing, because requiring users to change their
passwords can end up with them writing them on post-its and sticking
them on their monitors.

So, at least you'd have another option available.

> You misunderstood my intent there.  I was talking about
> the web interface that's used when users either 1) set up a new account
> and select their own password, or 2) change their current password.  It
> should just be modified to reject any new passwords which contained spaces.

My position on adding restrictions to the syntax of user passwords is
that it's something that should be avoided.  People are fully capable of
inventing a "good" password, but typically, you can't expect them to be
capable of juggling more than a couple of the things.  If they've already
come up with a "good" password, but when they arrive on your system, it
suddenly isn't valid, there is a significant risk that they are going to
quickly come up with a "bad" password which is easy to remember.  I
consider it better to let them use their usual password, which is probably
more secure then "damn, it doesn't work?  Okay, I'll just stick in my
wife's name."

>> All you're doing by supporting spaces in NNTP passwords is allowing a
>> setup where system passwords are used also for NNTP.
> 
> I can create a Unix password with a ^M in it.

No, you can't, at least not properly.  Manually hashing a string and
sticking it in /etc/passwd doesn't count, because users can't do that.

> They aren't making the password match unix passwords.  They are just
> using an ugly and dangerous hack to get it a little closer to working.

I don't see it as ugly or dangerous; and "closer to working" is better
than "not working", to me at least.

> It is likely to reduce the support calls.  But at the same time, it can
> create new support problems.  The user calls and says they can't log
> in.  The support person trys it and it works fine for her copy of OE and
> sends one of those "must be user error" type of messages back to the
> user.  The support person has never even heard about this "space" problem
> or perhaps had heard about it but was told it was fixed, so when she sees
> the user has a space in the password, she doesn't even think to ask the
> user to try changing it.

Not a bad point.

You know what would be sort of nice?  Being able to authenticate at
connect time via an x509 certificate, but then proceed to not encrypt the
entire rest of the session (to save on resources).  That, of course, is
pie in the sky stuff, as it would require huge client-side changes as
well as server-side ones.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1007975106.98746@ok-corral.gunslinger.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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastard
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209183112.802$Gb@newsreader.com> <1007942140.110053@ok-corral.gunslinger.net> <20011209231353.195$VD@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <1007975106.98746@ok-corral.gunslinger.net>
Subject: Re: Is there a hack to support paswords that contain spaces?
Date: Mon, 10 Dec 2001 09:05:06 +0000
From: Jeremy <jeremy@exit109.com>
References: <9urfpi$7vi$1@teta.doit.wisc.edu> <20011209183112.802$Gb@newsreader.com> <1007942140.110053@ok-corral.gunslinger.net> <20011209231353.195$VD@newsreader.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 72
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow