Often the easiest way to get someone to do this is to supply them with a
perl line Jerry.

Something like:

Open Terminal
enter:

perl -pi -e 's/DNSSERVER/DNSERVER/' /System/Library/StartupItems/BIND/BIND
killall [whatever...]

then if things seemed to work nicely, type:

exit

and retry.

Just a suggestion :) I saw someone point out the same concept for making
new files, ie) for a .forward, just tell the user to do:

ssh -e 'echo hen at example.com > .forward' hen at example.net

or somethign close to that. Was a very nice way of looking at it I felt.

Hen

On Fri, 22 Nov 2002, Jerry Yeager wrote:

> Allan,
>
> You can try the following in Terminal to edit "reserved" text documents:
>
> 1) Open a terminal window and use the 'cd' command to navigate to the
> folder that has the file.
>      type ls -la then hit return (there is a space there) you will get a
> long listing, you want this to detemine any .xyz ending the file has
>      type: sudo pico filename (with .xyz ending)
> You will be asked for your admin password. Enter it, then a text editor
> will open up in your terminal window. It is easy to use, it uses the
> cursor arrow keys to move around.
> Make the changes you wish to. To save the file you will use the
> control-o (it is called writing out the file). Then use crtl-x to exit.
>
> 2) If you know the full path and filename, then just open a terminal
> window and type sudo pico /path/filename and hit return.
>
>                                               Jerry
>
> On Friday, November 22, 2002, at 08:27  AM, Allan Atherton wrote:
>
> > Schoun Regan <schounregan at mac.com> wrote:
> >> ... there is a spelling error in BIND that came with 10.2. The actual
> >> BIND
> >> service in /System/Library/StartupItems/BIND/BIND has a spelling
> >> error to
> >> restart the service in case of error (ironically, usually 'caused' by
> >> lookupd). You will see DNSSServer instead of DNSServer inside BIND.
> >> Try
> >> removing the extra S, as root, and that should also help clean things
> >> up.
> >
> > You say "You will see DNSSServer instead of DNSServer inside BIND".
> >
> > I just took a quick look at BIND in Finder, and it is a 4k document
> > that
> > does not open. If I come back as root, how would I be able to get into
> > it
> > and change that misspelling? Do I both have to become root and then
> > get into
> > the document via Terminal or something?
> > Allan Atherton
> >
> >
> > The next meeting of the Louisville Computer Society will be November 26
> > For more information, see <http://www.aye.net/~lcs>. A calendar of
> > activities is at <http://www.calsnet.net/macusers>.
> >
> >
> >
> >
>
>
> The next meeting of the Louisville Computer Society will be November 26
> For more information, see <http://www.aye.net/~lcs>. A calendar of
> activities is at <http://www.calsnet.net/macusers>.
>
>

The next meeting of the Louisville Computer Society will be November 26
For more information, see <http://www.aye.net/~lcs>. A calendar of
activities is at <http://www.calsnet.net/macusers>.


Reply via email to