loggin out automatically
News
treworn at NOSPAMgrex.org
Sat Nov 2 11:09:16 EST 2002
I am considering writing a little program to control the amount of time a
certain user is allowed to access a Linux system i.e. 10 minutes, 1 hour,
etc.
I was wondering if there might be any complications with a line like:
os.system("logout")
Would :
The python interpreter wait for the call to return and refuse to die so
the call would fail?
Or: would some other complication I haven't thought of stop this
working?
Or: would this work fine?
Or: am I an idiot?
Or: some combination of the above?
Many thanks for any helpful and / or amusing replies.
Best regards,
M
More information about the Python-list
mailing list