Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Operation not permitted
Date:   2002-02-25 14:56:57
From:   adamsdv
Response to: Operation not permitted

Thanks, but the problem persists.


I type "su root", the computer replies with "Password:" I enter the password (no question that it is the one I installed OS X with, and it is the same one that I login with) the computer replies "Sorry"


Any Ideas?


P.S. I'd tried the sudo thing, but it didn't appear to work, but when I executed the sudo chown... command listed in your response, it did, and I could then modify the httpd.conf file. Hey, now I own it. I'm at a loss as to why I can't SU then just chown ... (perhaps also of interest, I can login with my OS X short user name, but If I try to login as root (from a shell), after the password prompt, it says "root login refused on this terminal." I'm not really a UNIX person so is there something wrong or just something I don't understand?



Thanks again, and the Series is really as thoroughly excellent as O'Reilly's books have been. Kudos!

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Operation not permitted
    2002-02-27 23:50:43  dredjohn [View]

    I'd use NETINFO MANAGER in the Application/Utilities folder. Go to DOMAIN at the top (I think that's what it's called) and SECURITY. There is an option to AUTHENTICATE. Do this to allow you to change settings. Then go back to SECURITY and say ENABLE ROOT.

    Follow the instructions. Log out, log in as root with the password.

    When you're done. Log out, log back in as yourself -- go back to the NETINFO MANAGER and DISABLE ROOT.

    Although the EASIEST way is to use BBEDIT (available at versiontracker). There is a demo available -- might be worth the purchase -- it will let you edit/save ANY file to yourhearts content without having to go through the hassle of enabling/disabling root priveledges.