[vox-tech] newbie annoyed with tin

Ken Bloom vox-tech@lists.lugod.org
Wed, 29 Jan 2003 14:22:41 -0800


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> ---ORIGINAL MESSAGE---=20
> Date: Tue, 28 Jan 2003 20:29:32 -0800 (PST)
> From: Katie <krwright1@yahoo.com>
> Subject: Re: [vox-tech] newbie annoyed with tin
> To: voxt <vox-tech@lists.lugod.org>
> Reply-To: vox-tech@lists.lugod.org
>=20
> Katie wrote:
> > > I don't have an /etc/news/server file.  I tried to create one, but it
> > > didn't work.  Most likely I did it wrong.  How would I create
> > > /etc/news/server?
>=20
> > > I don't know how to find ~katie/.bashr.  When I
> > > put it at the command line I got /home/katie/.bashrc not a directory.
>=20
> >From Samuel Merritt:
> > What to do is:=20
> > 1) Become root. (in a terminal, run "su" and then feed it your=20
> > password)
> > 2) Using your favorite text editor, open /etc/news/server. (e.g. "pico
> > /etc/news/server")
> > 3) Put in the appropriate text (as described by Bill Kendrick,
> > below).=20
> > 4) Save the file and exit.
> > Using your favorite text editor, open ".bashrc".=20
>=20
> > To set the environment variable VARIABLENAME, put in the line
> > export VARIABLENAME=3Dvalue
>=20
> > Note that this won't take effect immediately; bash only reads ~/.bashrc
> > when it first starts, so any terminals open before you edited ~/.bashrc
> > won't see this change. Open a new terminal and test it.
>=20
> > You can test it by running "echo $VARIABLENAME"; if you get a blank
> > line, it didn't work. If you see VARIABLENAME's value, it worked.=20
>=20
> Well, I did everything suggested, but when I put in tin -r it connects to
> news.ucdavis.edu, but then gives me:
>=20
> servers active-file contains no newsgroups
> Exiting
>=20
> and it takes me back to the command line.  Does this have to do with what
> I did?
>=20
> There was already stuff in the .bashrc file, but I added the line
> NNTPSERVER=3Dnews.ucdavis.edu at the end of the other stuff.

So now that you seem to have everything correct, there's only one more=20
piece of advice I can give you, and this applies specifically to=20
news.ucdavis.edu. Before you connect to news.ucdavis.edu for newsgroups,=20
you need to authenticate yourself at news.ucdavis.edu using a web=20
browser and your kerberos login and password.=20

I suggest doing this by using the following command, replacing login and
password with your own login and password:

echo qy | lynx "https://secureweb.ucdavis.edu:443/cgi-auth/sendback?" \=20
"http://email.ucdavis.edu/news/news-succeed.html" -force_secure \=20
-accept_all_cookies -auth=3D"login:password" > /dev/null

It would work very well to create a shell script out of it so that you=20
can just run the shell script before you run tin, and you can even run=20
tin from the shell script after authentication finishes.

--=20
PGP/GPG Fingerprint: D5E2 8839 6ED3 3305 805C  941F 9476 A9BD E2B2 CAD1
Import with `gpg --keyserver pgp.mit.edu --recv-key E2B2CAD1`
Also on www: http://wwwcsif.cs.ucdavis.edu/~bloom/kabloom.asc
For more information about PGP and GPG, see http://www.gnupg.org/

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+OFQxlHapveKyytERAowwAJ915IHC0S4/W77lpnD9B1nzHalUyQCfQqm8
tfhj3U7HMYYutSwNNnf4X18=
=JGeB
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--