Equivalent of "su" under Windows 2k/XP ?

Status
Not open for further replies.

fgaliegue

Posts: 25   +0
Hello everyone,

I'd like to know whether there is something like $subject... As a long time Linux user I'm following the mantra of "only ever be an admin when you need to", but then in an xterm it's only two letters away (su, precisely)...

For instance, I'm connected as a domain user right now. I want to disable a service, but this requires that I be either a local admin or a domain admin. Is there a way that I can be the one or the other only for the task at hand?
 
Look up the "runas" command. You can also use the pstools package from Sysinternals and the Windows Task Scheduler lets you specify the user to run a task as too.
 
Exactly what I was looking for :p

Thanks! Now I just need to see how to launch the things I want from the command line...
 
Status
Not open for further replies.
Back