|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Net use And Runas1. login windows as user userA ,start one cmd window
2. exec the command " runas /user:userA cmd.exe" 3. in the new cmd window,exec "net use z: \\server\path" 4.in new/old cmd window ,exec "net use". i find in new cmd window ,i can access the share path Z,but in old cmd window i can't . why? The user is same. This is documented behaviour, mappings created with RunAs are not applied to
the default account. Or vice versa. Unfortunately this is one of the key reasons that RunAs is not the panacea it's often claimed to be for installing sofware under limited accounts. Can u give me a link about this behaviour. because I have no sense about
secrity. thanks . Show quoteHide quote "Ian" wrote: > This is documented behaviour, mappings created with RunAs are not applied to > the default account. Or vice versa. > > Unfortunately this is one of the key reasons that RunAs is not the panacea > it's often claimed to be for installing sofware under limited accounts. > > |
|||||||||||||||||||||||