D
djc
I am confused. The following is what I understood the runas command to do:
Allows you to launch a program using the credentials of a different user.
Mostly intended to run an administrative task with admin priveleges without
having to log off and then log back on. Its like the unix/linus su command.
question 1: can you also use it to log on with someone with lesser
credentials to make sure they 'can't' do something? Say I set a new file
share up and I want to verify userA cannot access it. I am currently logged
in as someone who can access it so I open up an instance of explorer.exe
using the runas command specifying userA. Using that instance I attempt to
browse to the share. I should be denied access right?
question 2: What are the 'boundaries' of the runas command. Meaning if I use
the runas command to open an instance of explorer.exe (or any other program)
do I continue to operate inside that program as that user? or is it just the
initial 'open' or 'connection' that uses the user specified in runas?
These questions are related to each other and I ask because I am getting
very unexpected results! So I want to fully understand what should be
happening.
anyone?
Allows you to launch a program using the credentials of a different user.
Mostly intended to run an administrative task with admin priveleges without
having to log off and then log back on. Its like the unix/linus su command.
question 1: can you also use it to log on with someone with lesser
credentials to make sure they 'can't' do something? Say I set a new file
share up and I want to verify userA cannot access it. I am currently logged
in as someone who can access it so I open up an instance of explorer.exe
using the runas command specifying userA. Using that instance I attempt to
browse to the share. I should be denied access right?
question 2: What are the 'boundaries' of the runas command. Meaning if I use
the runas command to open an instance of explorer.exe (or any other program)
do I continue to operate inside that program as that user? or is it just the
initial 'open' or 'connection' that uses the user specified in runas?
These questions are related to each other and I ask because I am getting
very unexpected results! So I want to fully understand what should be
happening.
anyone?