I've found that getting the built-in user names is always tricky.  There are 
several different APIs and they all seem to have their preferences.  You can 
look at the code if you want to see which APIs are getting called or just play 
around with the names until you find the ones that work.

-----Original Message-----
From: tgoffice [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2008 10:17
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Add User to predefined group fails


It could be a giant security hole, that's true, nevertheless the wix command
should work, right?


Richard-45 wrote:
>
>
> In article <[EMAIL PROTECTED]>,
>     tgoffice <[EMAIL PROTECTED]>  writes:
>
>> I want to create a new local user which should be added automatically to
>> "Administrators" and "Users" group.
>
> IMO, this is probably a giant security hole in your application
> because your are almost certainly grabbing more privileges and rights
> than you need.  The minimum appropriate priveleges and rights should
> be added to the new user you're creating -- not granting them
> arbitrary access to do anything on the machine by adding them to
> Administrators.  At the very least, this new user better be disabled
> for interactive logins.
> --
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>       <http://www.xmission.com/~legalize/book/download/index.html>
>
>         Legalize Adulthood! <http://blogs.xmission.com/legalize/>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
View this message in context: 
http://n2.nabble.com/Add-User-to-predefined-group-fails-tp1612823p1614682.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to