Share on Facebook Share on Twitter Email
Answers.com

Runas

 
Wikipedia: Runas

In computing, runas is a command in the Microsoft Windows line of operating systems that allows a user to run specific tools and programs with different permissions from the user's current logon provides. It is similar to the Unix command sudo. The feature was introduced with the Windows 2000 operating system. The runas command is also included in the Inferno operating system.

Contents

Syntax

Microsoft Windows

runas [{/profile | /noprofile}] [/env] [/netonly] [/smartcard] [/showtrustlevels] [/trustlevel] /user:<UserAccountName> program

Inferno

runas writes the user to /dev/user and invokes cmd with the given arguments.

runas user cmd [arg...]

Note: The command is only invoked if setting of the user name succeeds.

Examples

Microsoft Windows

runas /noprofile /user:machine\administrator cmd
runas /profile /env /user:domain\admin "mmc %windir%\system32\dsa.msc"
runas /user:user@domain.example.org "notepad C:\filename.txt"

See also

References

External links


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Runas" Read more