Re: CGIs with OSX
Re: CGIs with OSX
- Subject: Re: CGIs with OSX
- From: Timothy Bates <email@hidden>
- Date: Sun, 25 Mar 2001 23:11:03 +1000
On 3/25/01 7:24 PM, "Chris Nebel" <email@hidden> wrote:
>
Mac OS X tries to discourage logging in as root because it's very dangerous
>
and opens you up to all sorts of potential damage. In general, simply being
>
an administrative user will let you do what you need to.
Note the step backwards here: we used to be able to control our machines as
end users, and be secure. Now we can be secure or control our machine.
All of this would go away if Apple provided graphical preference editors.
Then you can't screw things up by typing :q into vi in edit mode instead of
command mode. Seems fair to me really, given that all the software was
written for free by open source artisans.
Anyhow, when you are editing these files in the terminal, a handy tool is
pico. This editor is "menu" driven (little text blobs as menus).
so
sudo pico /etc/httpd/httpd.conf
will give you less chance of getting completely lost than will
sudo vi /etc/httpd/httpd.conf
If you are in vi and have no idea how to get out: here's how-
hit escape (you may hear a beep, that is OK. It means you are in command
mode - remember modes?)
Now what you type will be interpreted not as content but as a command
to get out without saving any bad changes, just type :q!
cheers,
t
Dr Timothy Bates <
mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059