Re: Enable Ethernet Adapter

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Sarah Tanembaum wrote:
Hi Chris, I did come across similar issues on other project. And the solution is to put a wait long enough for the script to finish. Just like yours.

That's it! You reminded me that I had to put in a sleep command. I had forgotten about that.


My bigger problem is now to limit all this script to run in "Administrator" mode. In unix, you can use the "sudo" command whereas in Windows there are nothing like it but I hope someone will come up with one.

I think 'runas' command in Windows is just as dangerous as 'su'(superuser) for Unix. It gives the script or a particular person full access to the machines(and/or domain).

The runas command can run as any user you want, not just Administrator, and the rights only persist for running the command that follows, but
unfortunately, the /savecred option will enable the user (if they're savvy enough) to run something else as that user if they try.


It's a tricky problem. What would be useful is the ability to have different user accounts available in different hardware profiles. I'm not sure if that's possible.

--
Chris M.
.



Relevant Pages

  • this is not a specific linux question but more of just UNIX - tar, dump, restore command questions?
    ... I am new at a company that has a Unix server and they have no documentation ... They have a script I assume that runs a backup tape every night of just one ... assuming their either are using a tar or dump command / script. ... a restore from a tar file assuming they are using tar. ...
    (comp.os.linux.misc)
  • Re: batch file to delete files based on criteria
    ... The Advanced Version of Snapshot will create date/time coded backups that ... This script is included with the FREE Advanced NT/2K/XP/K3 Command Library ... script will perform CONSISTENTLY under Windows NT4, 2000, XP and Server ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: PcLinux
    ... I never said Windows was more capable, I pointed out that it is just as ... I'm not bashing Linux ... It has been with unix since at least v7 unix. ... This set of command names persists ...
    (rec.crafts.metalworking)
  • Re: PcLinux
    ... I never said Windows was more capable, I pointed out that it is just as ... I'm not bashing Linux ... It has been with unix since at least v7 unix. ... And the reason for the short command names ...
    (rec.crafts.metalworking)
  • Re: recommended way to send large files from Z/os to WIN and backward
    ... ADRDSSU RELEASE command. ... so now i xmit the large dump and then send them to a windows FTP server. ... I use Filezilla server for SMP/E RECEIVE FROMNETWORK, ... didn't understand the Unix side of z/OS. ...
    (bit.listserv.ibm-main)