PDA

View Full Version : Run applications as administrator.



molinos
05-10-2001, 11:25 AM
I need users can run applications as administrator. But i donīt want they know administrators password.

RWSchlatter
05-10-2001, 04:35 PM
"...i donīt want they know administrators password..."
you can at anytime set up a different account with another password as member of group Administrators.

J guess your real problem is that the users then have full control of the machine, not that they need to know the pw of the initial admin account.

A partly secure workaround (untested - just to show the way J would take):
create a script using dual singon feature to first enter admin account, run the app, then logoff the admin account.
Keep the script in a "secure" place, eg, server or special share, with read/execute access only for these selected users / usergroups. This will partially obscure the password of the admin account, and will let you change the pw periodically.
Each user has his/her shortcut on their machine, pointing to the script.

______________
Regards - Richard

myanimator
05-11-2001, 02:26 PM
Another solution would be to create a new service that calls an batch file that runs the program you want to run. This way the service launches the program (eventually) and is run as System (from what I gather that would work for what you are doing even though it is not Administrator). The reason for the batch file in between is so that the batch file can be timed out and die and the service will die w/ it but the program the batch file launched will still be running.

We created something similar to run Adaptec Easy CD Creator in Win2k as a normal user.

Hope that helps - there is plenty of info out there on creating services if you want to follow this idea

:o)