New and Improved Sudo for Vista (now remembers credentials)

Posted on April 2, 2008. Filed under: security, sudo, vista, vista, security, windows |

In one of my earlier blog post I shared source code for a simple utility that I had made. It could be used to launch elevated processes from the command line.

So opening a Elevated command prompt was as simple as writing

sudo cmd

Actually the code for this is very simple as it just executes a well documented system function ShellExecute.

I have made some changes to the script and now it remembers the credentials. So once you execute any command, Vista will ask you confirmation only once and any subsequent call won’t ask for the confirmation with the UAC dialog box.


Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...