Running Python scripts under a different user
Mikael Olofsson
mikael at isy.liu.se
Wed May 31 08:41:58 EDT 2006
Laszlo Nagy wrote:
> For Windows, you can use the 'runas.exe' program. But it requires a
> password too.
Or you can get a copy of the shareware program RunAsProfessional, which
I use for my kids stupid games that necessarily has to be run by an
admin. The price I paid was 10 Euro, which I still think was money well
spent. IIRC you get a 30 days trial version for free.
http://freedownloads.rbytes.net/cat/desktop/other3/runas-professional/
It does the same thing as RunAs, but you do not need to type the
password every time you run your program. Instead the password is stored
encrypted in the file you launch. I do not know what encryption is used,
or how safe the encryption is. My needs are simply to make sure that my
kids do not destroy anything by mistake. Sure, the stupid game may be
designed to destroy, but that's another issue.
/MiO
More information about the Python-list
mailing list