<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx</link><description>Because that would be inviting a security hole.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>jernstrom.org &amp;raquo; CPAU (Create Process As User)</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#9269522</link><pubDate>Fri, 02 Jan 2009 21:18:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9269522</guid><dc:creator>jernstrom.org &amp;raquo; CPAU (Create Process As User)</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://jernstrom.org/site/2006/01/cpau-create-process-as-user/"&gt;http://jernstrom.org/site/2006/01/cpau-create-process-as-user/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9269522" width="1" height="1"&gt;</description></item><item><title>People get hacked, not machines &amp;laquo; Blogs are like opinions.  Everybody has one&amp;#8230;</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#2407100</link><pubDate>Fri, 04 May 2007 11:23:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2407100</guid><dc:creator>People get hacked, not machines « Blogs are like opinions.  Everybody has one…</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://adamo.wordpress.com/2007/05/04/people-get-hacked-not-machines/"&gt;http://adamo.wordpress.com/2007/05/04/people-get-hacked-not-machines/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2407100" width="1" height="1"&gt;</description></item><item><title>Avviare il Pannello di Controllo tramite runas</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#586891</link><pubDate>Sun, 30 Apr 2006 01:23:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:586891</guid><dc:creator>Alex's Weblog</dc:creator><description>&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=586891" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#301223</link><pubDate>Tue, 14 Dec 2004 21:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:301223</guid><dc:creator>Michael Puff</dc:creator><description>Thank you for your hint. I just found &amp;quot;SetConsoleMode&amp;quot;, &amp;quot;ReadConsole&amp;quot; and &amp;quot;WriteConsole&amp;quot;.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=301223" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#284202</link><pubDate>Tue, 14 Dec 2004 05:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:284202</guid><dc:creator>Raymond Chen</dc:creator><description>I leave that as a (simple) exercise. Look through the console functions.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=284202" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#284197</link><pubDate>Tue, 14 Dec 2004 05:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:284197</guid><dc:creator>Michael Puff</dc:creator><description>May I bring back your attention to my question once again?&lt;br&gt;&amp;quot;By the way, how is the keyboard input surpressed while typing the password?&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=284197" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#277922</link><pubDate>Tue, 07 Dec 2004 23:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:277922</guid><dc:creator>Raymond Chen</dc:creator><description>I already gave a link to EPAL in the article.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=277922" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#277910</link><pubDate>Tue, 07 Dec 2004 22:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:277910</guid><dc:creator>Kimmo</dc:creator><description>Thanks Raymond,&lt;br&gt;&lt;br&gt;I appreciate your comment about the security issues of using an application that uses CreateProcessAsUser. In my, and I guess, others as well, circumstances this is the best we can do to be able to run processes with elevated privilgeges. Do you have some other alternatives that would be sufficent secure?&lt;br&gt;&lt;br&gt;Kind regards //&lt;br&gt;Kimmo&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=277910" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#275531</link><pubDate>Mon, 06 Dec 2004 10:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:275531</guid><dc:creator>1 Litre</dc:creator><description>Raymond:&lt;br&gt;&lt;br&gt;On my home PC, I'll take that tradeoff - I need an account where the kids can play Age of Mythology without being able to run all over the hard disc. Most of the utilities mentioned on this thread are &amp;quot;good enough&amp;quot; for what I'm doing, on a firewalled machine that doesn't use IE/OE.&lt;br&gt;&lt;br&gt;(Though IMO the fault lies with the application here - for a game (and an MS-badged game, at that) to require Administrator rights is completely nuts. As long as stuff like that exists, home users won't use limited-access accounts).&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=275531" width="1" height="1"&gt;</description></item><item><title>re: Why doesn't the RunAs program accept a password on the command line?</title><link>http://blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx#275314</link><pubDate>Sun, 05 Dec 2004 18:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:275314</guid><dc:creator>Raymond Chen</dc:creator><description>It doesn't matter how much you encrypt the password. It gets passed in cleartext to CreateProcessAsUser - that's where the hacker attacks. Once there, you have the password after it has been decrypted. Good-bye security. &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=275314" width="1" height="1"&gt;</description></item></channel></rss>