adduser, addgroup

Scott Haneda talklists at newgeo.com
Wed Mar 4 14:16:11 PST 2009


On Mar 4, 2009, at 2:13 PM, Bradley Giesbrecht wrote:

> Do you know if you can specify a uid and gid in a Portfile?
> And is there an accessible var holding uid and gid? Using the port  
> commands to create them that is.


I believe so:
set gid [existsgroup foo]
adduser foo gid=${gid} realname=foo home=${prefix}/var/foo
--
Scott * If you contact me off list replace talklists@ with scott@ *








More information about the macports-users mailing list