Çäðàâñòâóéòå Forrest,
Tuesday, August 16, 2005, 1:12:39 AM, Âû íàïèñàëè:
FP> I need a way like with su where the user never has to enter the password.
We don't want them to have the password for that. This isn't a case where we
are just trying to run a seperate job
FP> under a non-admin ID. It is a case where the program we are running must be
run by a user in the local administrators group but we don't want these users
to have adminstrator access.
For this (as for runas) You need only once for each user run in console
command
runas /user:admin /savecred myprog.exe
and enter password manually. On next runs runas will not prompt for
password for myprog.exe. In script when executing myprog via runas also use
/savecred parameter in command.
As for perl modules - the only I know may(?) help is Win32::AdminMisc
from http://www.roth.net. But I not using that module and do not know is it
possible perform such task with it
--
Ñ óâàæåíèåì,
Ñåðãåé mailto:[EMAIL PROTECTED]
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs