Re: Re: CGIs with OSX
Re: Re: CGIs with OSX
- Subject: Re: Re: CGIs with OSX
- From: John W Baxter <email@hidden>
- Date: Sun, 25 Mar 2001 13:01:23 -0800
At 3:46 -0500 3/25/01, email@hidden wrote:
>
Any Unixy people with ideas? It seems Apple has crippled the command line and
>
closed the user out of root access.
do
man sudo
and be very careful. (Note that the password sudo asks for is the admin
user's password, not root's password.)
To become root, first be an administrative user (the first user you created
is...the others are if you make them so), then execute
sudo -s
And work slowly and carefully...you can wipe out an entire volume in one
command.
That said,
sudo emacs /private/etc/httpd/httpd.conf
sets me up in the Emacs editor ready to edit the file (without leaving me
as root afterward). The same should work for the vi editor. Neither
editor is something one wants to use on valuable files without some
practice time and a book. (I have to grab a book to exit safely each time
I stumble into vi...fortunately those stumbles are rare.)
--John (who spends a good part of every day in emacs and still only knows
a handful of the commands)
--
John Baxter email@hidden Port Ludlow, WA, USA