Results 1 to 9 of 9

Thread: terminal issue

  1. #1
    terminal issue

    Member Since
    Dec 02, 2006
    Posts
    60
    Specs:
    iBook G4; 1.07 GHz; 512 MB; Radeon 9200; 40 GB HDD
    terminal issue
    Hey all,

    when i try to change to a super user (su), I am thrown the error message "su: Sorry" as if I typed in the wrong password. The password I am typing in is correct. I tried going into Sys Preferences and changing my password, but this doesn't seem to help at all. When I changed my password I DID exit out of console and go back in. I'm no sure what do do here. Furthermore, when my mac turns on, I do not get a login prompt. I went into Sys Prefs -> Accounts and did not see anything where I can enable this.

    Thanks in advance.

  2. #2
    terminal issue
    mathogre's Avatar
    Member Since
    Jan 20, 2007
    Location
    Oakton, VA USA
    Posts
    3,269
    Specs:
    White MacBook Intel C2D 2.2GHz, 2G, 250G, SD, Leopard.
    Technically, you can't be root in OS X, though you *can* have root privileges. For an action that requires root/admin privileges, use sudo.
    Evil Math Ogre Kgh-Ra
    Integrate me. Differentiate me.
    You can't hurt me. I'm e^x. Ha ha ha!

    Homepage | Gallery
    I was on the M-F honor roll for July 2007.

  3. #3
    terminal issue
    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    I believe that in order to use su you will have to enable the root account. Which is disabled by default.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  4. #4
    terminal issue
    novicew's Avatar
    Member Since
    Jan 04, 2006
    Location
    Hamburg, Germany
    Posts
    1,385
    Specs:
    MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
    try su <Root user name> instead. (eg. su root)

  5. #5
    terminal issue

    Member Since
    Dec 02, 2006
    Posts
    60
    Specs:
    iBook G4; 1.07 GHz; 512 MB; Radeon 9200; 40 GB HDD
    Quote Originally Posted by mathogre View Post
    Technically, you can't be root in OS X, though you *can* have root privileges. For an action that requires root/admin privileges, use sudo.
    Very interesting - this will fall under the "you learn something new everyday" catagory lol


    I tried logging in as su root and su bokey (my user name), but to no avail.

  6. #6
    terminal issue
    caribiner23's Avatar
    Member Since
    Feb 06, 2005
    Location
    Chicago
    Posts
    1,543
    Specs:
    MacBook Pro Retina 13" • iPhone 6 • iPad Air • and many iPods
    The root account, by default, is disabled (as rman points out).

    To enable it, you have to go into Applications -> Utilities -> NetInfo Manager and choose "Security --> Authenticate" and then "Enable Root User."

    (The UNIX geek who's lived inside of me since 1986 is screaming "NO! NO!! NO!!" in my ears as I type this.)

    Use these instructions at your own risk.

    (There, he went quiet.)

  7. #7
    terminal issue
    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Location
    Deep in the heart of Texas!
    Posts
    3,566
    Specs:
    Mac's
    Caribiner is right (again ) Having root enabled can cause you MAJOR problems if you make a mistake as easy as the misplacement of "-" "r" "m" or "f"...

    BE CAREFUL

  8. #8
    terminal issue
    cazabam's Avatar
    Member Since
    Jun 06, 2006
    Posts
    1,153
    Specs:
    MacBook 2.0GHz White, 512MB RAM, 60GB HDD
    The easiest way to get a root shell without enabling your root account is like this:

    sudo su -

    exactly like that. Enter your password and you are root, with a full root environment. Note that you need to be an administrator user to do this.

  9. #9
    terminal issue

    Member Since
    Dec 02, 2006
    Posts
    60
    Specs:
    iBook G4; 1.07 GHz; 512 MB; Radeon 9200; 40 GB HDD
    i'll try sudo when i get off of work -- sudo su always worked to force the scrips to run.

    I've been working with linux and mac for a few years and I've done my fair share of "Oh My!"'s lol so trust me i know what can happen! thanks for the info caribiner23. I look at it this way: If you plan out what you're doing first, take your time, and know whats going to happen then enabling root should never be an issue.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Small Terminal issue
    By AflickerOfLight in forum OS X - Apps and Games
    Replies: 1
    Last Post: 07-03-2010, 07:59 PM
  2. Weird Terminal Issue
    By lyleyboy in forum Apple Notebooks
    Replies: 1
    Last Post: 09-05-2009, 11:37 PM
  3. Issue with terminal
    By NadeMaster1 in forum OS X - Operating System
    Replies: 2
    Last Post: 01-08-2008, 02:00 AM
  4. Terminal issue
    By sarjas in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-02-2008, 10:30 PM
  5. terminal issue
    By pi_edpiper in forum OS X - Operating System
    Replies: 1
    Last Post: 09-04-2003, 08:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •