[MacPorts] #30168: adduser results in macports users appearing as interactive users
MacPorts
noreply at macports.org
Mon Jul 25 10:29:05 PDT 2011
#30168: adduser results in macports users appearing as interactive users
------------------------------------+---------------------------------------
Reporter: michal.vanco@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.99
Keywords: adduser lion | Port:
------------------------------------+---------------------------------------
Comment(by blargh.macfag@…):
using an UniqueID between 100 and 500 for the macports user should fix
that.
the realname for the user is missing btw., it could be set to something
more explanatory like "MacPorts Runtime User"
{{{
${DSCL} -q . -create /Users/${RUNUSR} UniqueID $(($(${DSCL} . -list /Users
UniqueID | /usr/bin/awk '{print $2}' | awk '$1 > 100' | awk '$1 < 500' |
sort -ug | tail -1)+1))
}}}
{{{
${DSCL} -q . -create /Users/${RUNUSR} RealName "MacPorts Runtime User"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30168#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list