11

Even root is feeling sorry for me!!!☹️

Comments
  • 0
    Type sudo -i then su root
  • 3
    'sudo -i' will give you root's ENV. It works the same as 'su -'

    Also, you don't need to specify root with su.
  • 0
    @bahua Doesn’t he need to set a root password, which Macs by default don’t have, to use “su -“?
  • 1
    @growling

    Yeah, if there's no password set, then su will definitely not work.
  • 1
    @bahua Thanks, I’m aware of the root’s responsibilities. I was just playing around to get that console message.
  • 2
    @akhilmantha

    I wasn't warning you against logging in as root. I was telling you that it is not necessary to specify, "root" in the command. If you don't specify a username, root is implied, since the command stands for super user.
  • 0
    @samblaise

    Again, unnecessary.

    "sudo -i" has an identical outcome to, "sudo su -"
  • 1
  • 1
    Not really.
Add Comment