*BSD News Article 99685


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!infeed1.internetmci.com!newsfeed.internetmci.com!news.smart.net!gallows.smart.net!surfer
From: surfer@gallows.smart.net (web surfer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD Admin Questions
Date: 15 Jul 1997 04:42:53 GMT
Organization: i have no organization.
Lines: 36
Message-ID: <5qev4e$9v3$1@news.smart.net>
References: <alex-1407971739000001@192.168.1.3>
NNTP-Posting-Host: gallows.smart.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44447

In article <alex-1407971739000001@192.168.1.3>,
Alex Kac <alex@WebIS.net> wrote:
>
>Please forgive me, I have not been in the UNIX world for awhile, and just
>got back in..plus this is the first time to actually administer a UNIX
>server. Here are my questions:
>
>1) How do I log into root? Whenever I try via telnet, it tells me that
>root cannot be logged on. All I need to do is setup a new user!

most likely you will need to login as yourself then su to root.  i would
recommend putting ssh on the systems involved to improve security.

>
>2) Can somebody give me the following commands in nvi: save, quit,

ah, this is just a variant of vi so save would be the ":w" command and
quit would be the ":q" command.  there are other options that you may want to
explore, but these should get you going.

>
>3) Using named, how do I quickly add a new domain name? thanks.

well, the quick and dirty way would be to edit the correct files for the
A and PTR records first.  don't forget to update the serial number in each
file so that when you restart things the new versions get into the system.
next you will want to HUP the in.named proc on the primary server.  next you
will need to login to each secondary, flush the cache directory and kill and
restart the named process.  ah "flush the cache" means to cd to the cache
directory (something like /var/named/cache) and remove the files from there.
however, you had best check first with someone there to make sure you have
the right directory.  you should be able to HUP the in.named proc on the
server but it would be best to kill and restrt that daemon.
-- 
this account sends incoming mail to /dev/null.
followups to newsgroups only please!  thanks!