Portal   Forum   Members   Market   Gallery   Events

Need help deleting via the terminal

Discussion in 'Help Forum' started by gekko, Jun 1, 2002.

  1. gekko

    gekko Peasant

    Joined:
    Feb 19, 2001
    Messages:
    648
    Likes Received:
    0
    Market Rating:
    0
    I'm trying to delete the Stuffit Expander folder that was installed with OS X. Problem is, I don't have permissions. I had this problem before too, but reinstalled OS X, so I have it again.

    Anyway, I know I need to log in as root via the terminal, and do all those fun commands to delete it. I just forgot the commands, and how to log in as root.

    Can someone help?
     
  2. Haite

    Haite Forum Moderator

    Joined:
    Jan 29, 2001
    Messages:
    9,325
    Likes Received:
    34
    Market Rating:
    0
    I don't know how Apple's bastardized the shell, but you should try logging out via the Apple menu and then logging in again as root. Then, rm -rf /<Stuffit folder>

    --Haite
     
  3. Strader

    Strader Peasant

    Joined:
    Jan 29, 2002
    Messages:
    2,718
    Likes Received:
    0
    Market Rating:
    0
    I don't know any terminal commands so what I do is this.

    - Go to the "Utilities" folder inside of your "Applications" Folder and run "NetInfo Manager".

    - Open the "Domain" menu and go to "Security" then click "Authenticate..."

    - Type in your "Admin" password here.

    - Open the "Domain" menu again and click "Enable Root User". (You may have to make up a password for it here.)

    - Make sure that you enable "Display Login Window as: Name and password entry fields."

    - Close apps and login as "root" with your root password.

    - Do your stuff and login again as your previous account. Open "NetInfo Manager" again and click the "Domain" menu. Go to "Security" and disable the root user. You may have to authenticate first. After doing this, "deautheticate" and that's it.

    Perhaps there is a nice quick command that allows you to do this but that's the only way that I currently know.
     
  4. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,759
    Likes Received:
    27
    Market Rating:
    16
    the command is -su something. i forget.
     
  5. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    sudo rm -rf /path/to/folder
     
  6. Elbereth

    Elbereth MSC Commander and Donator

    Joined:
    Jun 17, 2000
    Messages:
    3,356
    Likes Received:
    14
    Market Rating:
    0
    cd ~
    rm -rf *

    :D






    Do not really do this!
     
  7. Haite

    Haite Forum Moderator

    Joined:
    Jan 29, 2001
    Messages:
    9,325
    Likes Received:
    34
    Market Rating:
    0
    Mm, that's just your home user directory... try

    rm -rf /

    for some real funnies.

    --Haite
     
  8. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    I've got an even better idea. Put your Hard drive between two electromagnets.
     
  9. Strader

    Strader Peasant

    Joined:
    Jan 29, 2002
    Messages:
    2,718
    Likes Received:
    0
    Market Rating:
    0
    Hey, thanks Cow! It runs a lot faster now! Bootup time was like *snap*!!! Hardware version of defrag, correct? :retard: :nod:
     
  10. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    :D
     

Hitometer: 53,932,356 since 1995