[MacPorts] #34221: sw_vers hangs during a build
MacPorts
noreply at macports.org
Sun Oct 28 21:15:59 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 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.
> 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:71>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list