🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72371

Re: Authentication advice

#72371
From: Jeffrey M. Vinocur
Date: Mon, 03 Oct 2005 02:03
30 lines
1981 bytes
In article <XE%%e.359234$5N3.31475@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>
>I did use "perl encrypt my" where "encrypt" is your perl script, and my 
>is the textfile with the names and passwords. I presume that is what you 
>mean?

Yup.  (I was confused because "my" in Perl defines a new
variable.  So I thought maybe you had somehow been hardcoding
your filename into the script, which would be silly -- but you
weren't.)

You can also do these:

  perl encrypt < my
  cat my | perl encrypt

And if you `chmod a+x encrypt` (and make sure the first line of
the script points to where perl actually is on your system), you
be more direct:

  ./encrypt my
  ./encrypt < my
  cat my | ./encrypt


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dhq3hf$bos$1@puck.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@puck.litech.org> <XE%%e.359234$5N3.31475@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <dhq3hf$bos$1@puck.litech.org>
Subject: Re: Authentication advice
Date: Mon, 03 Oct 2005 02:03:27 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@puck.litech.org> <XE%%e.359234$5N3.31475@bgtnsc05-news.ops.worldnet.att.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 30
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1128305007 12060 66.218.0.75 (3 Oct 2005 02:03:27 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 3 Oct 2005 02:03:27 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)