> ---ORIGINAL MESSAGE--- > Date: Tue, 28 Jan 2003 20:29:32 -0800 (PST) > From: Katie <[EMAIL PROTECTED]> > Subject: Re: [vox-tech] newbie annoyed with tin > To: voxt <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > > 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? > > > > 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. > > >From Samuel Merritt: > > What to do is: > > 1) Become root. (in a terminal, run "su" and then feed it your > > 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). > > 4) Save the file and exit. > > Using your favorite text editor, open ".bashrc". > > > To set the environment variable VARIABLENAME, put in the line > > export VARIABLENAME=value > > > 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. > > > 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. > > Well, I did everything suggested, but when I put in tin -r it connects to > news.ucdavis.edu, but then gives me: > > servers active-file contains no newsgroups > Exiting > > and it takes me back to the command line. Does this have to do with what > I did? > > There was already stuff in the .bashrc file, but I added the line > NNTPSERVER=news.ucdavis.edu at the end of the other stuff.
So now that you seem to have everything correct, there's only one more piece of advice I can give you, and this applies specifically to news.ucdavis.edu. Before you connect to news.ucdavis.edu for newsgroups, you need to authenticate yourself at news.ucdavis.edu using a web browser and your kerberos login and password. 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?" \ "http://email.ucdavis.edu/news/news-succeed.html" -force_secure \ -accept_all_cookies -auth="login:password" > /dev/null It would work very well to create a shell script out of it so that you can just run the shell script before you run tin, and you can even run tin from the shell script after authentication finishes. -- 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/
msg04231/pgp00000.pgp
Description: PGP signature
