SUDO User is not working properly.. HEELP FAST

Discussion in 'Mac Basics and Help' started by klerni, Mar 12, 2016.

  1. klerni macrumors newbie

    Joined:
    Mar 12, 2016
    #1
    It's very unusual question and really nobody answered it so far as I searched a lot in Google..
    Theoretically we are speaking about very simple function, running application in terminal with Super User privileges. The problem is that if i'm typing right commands in terminal nothing work.. No application is opening, in activity monitor nothing appear. I'm following exactly this video
    and nothing is happening what is strange. I also created root user and yes it's working for every application but in this case of application I can't use it - long story. If i'm running it just by clicking from applications then everything is normally appearing at activity monitor. More somehow I found moment ago that if i'm using command "
    open /Applications/TextEdit.app/Contents/MacOS/TextEdit" just after using "su" command and login to super user rights, then it's opening process in activity monitor but it's still as user not as root..
    How can I fix it, please need help fast as it's extremy urgent for me
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    If you launch Textedit with this command it will have root privileges even though it is running in the user space in Activity Monitor.

    Code:
    sudo open /Applications/TextEdit.app/Contents/MacOS/TextEdit
     

Share This Page