l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jan 28 19:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] newbie annoyed with tin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] newbie annoyed with tin

On Tue, Jan 28, 2003 at 06:50:44PM -0800, Katie wrote:
> Maybe I should replace "newbie" with "completely pathetic and clueless"?

Nah. After all, you are trying to learn instead of giving up. 
> 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?

When you're asking questions like this, it's good to include exactly
what you tried to do, as well as any error messages that come up. 

I'm going to guess that you're trying to do this as user "katie" but
getting a permissions error. 

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
3) Put in the appropriate text (as described by Bill Kendrick,
4) Save the file and exit. 

The reason you can't do this as user "katie" is that the directory
/etc/news is owned by user "root", and so (simplifying a little) nobody
but root can create new files in /etc/news. 

> I don't know how to set anything in my login script. :-(
> My user name is katie.  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. 

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. 

> My user name is katie.  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.   
> >Katie wrote:
> > > Is there any way to set this up so I don't have to do the
> > > $ export NNTPSERVER=news.ucdavis.edu everytime I go to use tin?
> > From: Bill Kendrick <nbs@sonic.net> 
> > Add "news.ucdavis.edu" to your /etc/news/server file,
> > then just do "tin -r" 
> > Or, as mentioned before, set the NNTPSERVER variable in your login
> > script.
> > From: Rick Moen <rick@linuxmafia.com>
> > How 'bout putting that into ~krwright1/.bashrc ?
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Samuel Merritt
OpenPGP key is at http://meat.andcheese.org/~spam/spam_at_andcheese_dot_org.asc
Information about PGP can be found at http://www.mindspring.com/~aegreene/pgp/

Attachment: pgp00013.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!