General discussion

Locked

Log in script securities

By malosa ·
In our log in scripts we have a command line that copies our most recent host and lmhost files to the proper directory. We've found that w/W2K this only works if the local user is set up w/administrator rights to the computer. Is there anyway - through the log in script - to bypass the security for the file copy?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Log in script securities

by DC1 In reply to Log in script securities

Look into using the Runas or SU commands in your login scripts to assign escalated privelages for these tasks.

Collapse -

Log in script securities

by malosa In reply to Log in script securities

I will look into this as an option for future log in scripts. I found an easier solution for the time being. However, this did help me with future potential problems. I at least know where to start looking should I need help again.

Collapse -

Log in script securities

by ChrisTOTG In reply to Log in script securities

Try changing the ntfs security on %systemroot%\system32\drivers\etc to allow the user to write files there. By default, users have Read permissions on that directory.

Collapse -

Log in script securities

by malosa In reply to Log in script securities

Thanks, I actually figured this same thing out this morning.

Collapse -

Log in script securities

by malosa In reply to Log in script securities

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums