[MacPorts] #34221: sw_vers hangs during a build

MacPorts noreply at macports.org
Mon Oct 29 03:24:05 PDT 2012


#34221: sw_vers hangs during a build
--------------------------------+--------------------------
  Reporter:  richard.t.lloyd@…  |      Owner:  jeremyhu@…
      Type:  defect             |     Status:  closed
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.0.4
Resolution:  invalid            |   Keywords:  mountainlion
      Port:  gettext            |
--------------------------------+--------------------------

Comment (by jonesc@…):

 Replying to [comment:71 jeremyhu@…]:
 > Replying to [comment:70 cal@…]:
 > > Replying to [comment:67 jeremyhu@…]:
 > > > No, I'm saying you should use your user's crontab and use sudo.
 > > >
 > > > You will need to edit /etc/sudoers to allow your user to use 'sudo
 port' without a password.
 > >
 > > I don't think this is a good idea. Your Portfiles might be writable
 for your user depending on your configuration and tampering with the
 Portfiles would allow arbitrary commands to be run as root without
 password prompt, causing privilege escalation (but then, it wouldn't be a
 good idea to run them as root from a cronjob either).
 >
 > It's no less secure than the user's previous setup.

 Forgive me if I am being slow, by how is making sudo not require a
 password, for *any* use of it, be no less secure than installing a single
 script to run as a crontab as root, which only affects that one script ? I
 don't get why you say these are both equally as secure ?

 >
 > > Jeremy: Isn't there a way around this problem? Can root's shell be
 changed?
 >
 > What would you expect that to accomplish.  This has nothing to do with
 root's shell...

-- 
Ticket URL: <https://trac.macports.org/ticket/34221#comment:72>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list