[MacPorts] #45737: dbus +no_root deleted my root account on MacOSX 10.5.8

MacPorts noreply at macports.org
Sun Nov 2 22:36:17 PST 2014


#45737: dbus +no_root deleted my root account on MacOSX 10.5.8
-------------------------+------------------------
  Reporter:  newchief@…  |      Owner:  mcalhoun@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:
      Port:  dbus        |
-------------------------+------------------------

Comment (by newchief@…):

 Yeah, reinstall is now completed and most of the ports I need are also
 built so there's nothing left from previous system. This time I've built
 dbus without +no_root and I can still do 'sudo'. From what I remember:
 Immediately after dbus +no_root failed to install (with the message that I
 shouldn't have started dbus installation with +no_root), I wanted to check
 something in ports directory. As usual, before going to
 /opt/local/var/macports (in a new shell started in a new window), I typed
 'sudo -s'. I was asked for password (this was before I deleted "Message
 Bus (root)" user), typed it and... got regular user shell (with '$'
 prompt, not '#' that I expected). Although whoami said it is 'root', I
 coudln't do anything that requires 'root' assistance, e.g. I couldn't do
 'mkdir /bin/something'. The rest now is a history.

-- 
Ticket URL: <https://trac.macports.org/ticket/45737#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list