• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re: CGIs with OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Re: CGIs with OSX (From: email@hidden)

  • Prev by Date: Re: Scripting the Mac OS X mail app
  • Next by Date: Re: CGIs with OSX
  • Previous by thread: Re: CGIs with OSX
  • Next by thread: Re: Re: CGIs with OSX
  • Index(es):
    • Date
    • Thread