| This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (April 2008) |
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
|
|||||||||||||||||||||||||||||
| This computer software article is a stub. You can help Wikipedia by expanding it. |
| This Microsoft Windows article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




