Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - 'sudo' in Vista?

Reply
 
Old 11-29-2006   #1 (permalink)
Jan Wagner


 
 

'sudo' in Vista?

Hello,

seeing that via the GUI now all applications have the shift +
right-click popup menu with a Run as administrator entry, is there
any way to achieve the same from command line using good old 'runas'
or with a 'sudo' that will use the same GUI confirmation prompt of
the UAC instead of prompting for password?

- Jan

My System SpecsSystem Spec
Old 11-29-2006   #2 (permalink)
Josh


 
 

Re: 'sudo' in Vista?

you can manifets the application so that it knows it needs to prompt.

http://windowsconnected.com/blogs/je.../12/21/97.aspx

--
Josh
http://windowsconnected.com

Now with NNTP goodness!

"Jan Wagner" <no_spam@thanks.net> wrote in message
news:exx9DC$EHHA.2464@TK2MSFTNGP06.phx.gbl...
> Hello,
>
> seeing that via the GUI now all applications have the shift + right-click
> popup menu with a Run as administrator entry, is there any way to achieve
> the same from command line using good old 'runas' or with a 'sudo' that
> will use the same GUI confirmation prompt of the UAC instead of prompting
> for password?
>
> - Jan



My System SpecsSystem Spec
Old 11-29-2006   #3 (permalink)
Jan Wagner


 
 

Re: 'sudo' in Vista?

Josh wrote:
> you can manifets the application so that it knows it needs to prompt.
>
> http://windowsconnected.com/blogs/je.../12/21/97.aspx


Interesting - thanks! Will see how that can be applied to ipconfig,
netsh etc.

- Jan

My System SpecsSystem Spec
Old 11-30-2006   #4 (permalink)
Mike Shepperd


 
 

Re: 'sudo' in Vista?

I've been running things from a cmd prompt running as administrator.

Details here:
http://www.sunfiresolutions.com/blog...ch-tip_27.html

Working great for me.

--

Mike Shepperd
Sunfire Solutions LLC
Seattle, WA

[This posting is provided AS-IS, with no warranties and confers no rights]


"Josh" <josh@-nospam-windowsconnected.com> wrote in message
news:%23aPO6K$EHHA.4108@TK2MSFTNGP03.phx.gbl...
> you can manifets the application so that it knows it needs to prompt.
>
> http://windowsconnected.com/blogs/je.../12/21/97.aspx
>
> --
> Josh
> http://windowsconnected.com
>
> Now with NNTP goodness!
>
> "Jan Wagner" <no_spam@thanks.net> wrote in message
> news:exx9DC$EHHA.2464@TK2MSFTNGP06.phx.gbl...
>> Hello,
>>
>> seeing that via the GUI now all applications have the shift + right-click
>> popup menu with a Run as administrator entry, is there any way to achieve
>> the same from command line using good old 'runas' or with a 'sudo' that
>> will use the same GUI confirmation prompt of the UAC instead of prompting
>> for password?
>>
>> - Jan

>
>


My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46