10.7.3 strange issues with root login

Discussion in 'Mac OS X Lion (10.7)' started by rimvydukas, Feb 26, 2012.

  1. rimvydukas macrumors newbie

    Joined:
    Sep 3, 2009
    #1
    Hi,

    So I have 10.7.3 Lion installed and I have root account enabled. I'm working with ordinary admin user. So while working as this user I selected "login window" option and when login window appeared I entered root login and password(fast user switching). So now I'm logged in with admin user and root user. Ok, great till then. I did few admin tasks with root user and tried to log out by pressing on apple-->Log out... Nothing happened. Tried few more times. Nothing. Ok switched to my admin user. And great thing is that I had pathfinder started as I saw that it canceled logout. What a....? Pressed ok and swithed back to root. Choosed to log out once more. Now switched back to admin user immediately. And I saw nice logout message:/ What is goin on? Why is Lion trying to log out my admin user when I'm trying to log out root user? There was no such thing in Leopard for sure:( Can anyone help me with this? Thanks.
     
  2. throAU macrumors 601

    throAU

    Joined:
    Feb 13, 2012
    Location:
    Perth, Western Australia
    #2
    Erm.


    Why are you logging in as root? You know that's not really supported yeah?


    If you need to log in, and do stuff as root in the terminal, just run sudo?

    You can get a root terminal if you are an admin user by doing:

     
  3. rimvydukas thread starter macrumors newbie

    Joined:
    Sep 3, 2009
    #3
    Here is an excerpt from Apple KB:)

    The user named "root" is a special user in UNIX-style operating systems that has read and write privileges to all areas of the file system. The root user should only be used for specific administration or monitoring tasks. After completing a task as the root user, you should log out of Mac OS X and log back in using a normal or administrator account.

    I don't know why are you saying that such thing is not supported... Even Apple has article how to enable root user.

    http://support.apple.com/kb/HT1528

    And exactly as said in this excerpt I'm using root for specific administration tasks - one of them was to change all users home location.

    As for now my solution for this problem was to kill root's login window through terminal but I wonder why is Lion trying to log out my admin user when I'm trying to log out root user.
     
  4. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #4
    Wrong, and you have no proof!
     
  5. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #5
    Wrong. Root users cannot modify the
    Code:
    /.Trashes
    directory. Only the super user (or code which runs with EUID 0 and EGID 0) has full access to the Mac OS X file systems. I wrote a search tool, and found out, that root users can do more than "ordinary" admin users, but do not have full access to certain parts of the file system.
     

Share This Page