in reply to Re: Is it possible to have a script run under one account and open a file using another?
in thread Is it possible to have a script run under one account and open a file using another?
Win32::AdminMisc has LogonAsUser, which appears to be what I'm looking for. I was hoping for a platform independent function but I guess that's not possible.
Looking at the requirements for functions such as LogonAsUser, switching the anonymous user account under which the scriopt runs might be less trouble than asking system administrators to set priveleges such as "SeTcbPrivilege", "SeChangeNotify" and "SeAssignPrimaryToken".
I'll take a closer look. Thank you!
Richard
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Is it possible to have a script run under one account and open a file using another?
by MidLifeXis (Monsignor) on Jul 30, 2003 at 10:28 UTC |