ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Operation not permitted
Date:   2002-02-25 08:22:12
From:   morbus
Response to: Operation not permitted

Are you just typing "su" and nothing else? There are two ways to do something with administrative rights under the terminal. There's "su" and "sudo".


Sudo looks like:


sudo chown -R adamsdv:staff *


It says "hey! do the next command as an administrative user. prompt me for the password, else use the one I typed in less than five minutes ago".


Su, on the other hand, looks like:


su [username]


so:


su root


would ask for your root/admin password, and then you'd be acting as the root user until you explicitly said "exit" (ie. all commands you typed in would be executed with administrative privileges).


Does that help at all?


1 to 1 of 1
  1. Operation not permitted
    2002-02-25 14:56:57  adamsdv [View]

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

1 to 1 of 1