|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Login Script Assistance Needed...
Hi all,
This is my first post to the forums. I'm a network admin in a new environment and I need to insert an executable into the login script. None of the users have local admin access, and therefore, I'm concerned about the executable running when the script calls for it. Can someone kindly post how to run the file as administrator from the script? The PDC is currently an NT4 Server. Thanks! |
|
#2
|
||||
|
||||
|
Well you can use the runas command in XP (and 2000 I think) although you need to manually enter the administrator's password each time. There's no way to automate the process, AFAIK.
|
|
#3
|
||||
|
||||
|
I don't recall the details, but there is a way to do just what you are looking for, something to do with intercepting an API call. Of course it could be as simple as adding it to the 'All Users' startup, being sure that they can't edit anything there.
As for security issues, if there are exploitable vulnerabilities in the script then of course it is subject to attacks, but that is a programming issue. Simply having a program run is not a problem.
__________________
Left DevShed May 28, 2005. Reason: Unresponsive administrators. Free code: http://sol-biotech.com/code/. Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html. Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html. It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it. --Me, I just made it up The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man. --George Bernard Shaw |
![]() |
| Viewing: Dev Shed Forums > System Administration > Security and Cryptography > Login Script Assistance Needed... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|