rzs0502
IS-IT--Management
- Nov 18, 2002
- 708
Hello out there,
I'm trying to close a users current shell from within Python and cannot find a solution.
I've tried os.system("exit")
But system calls a sub-shell.
What I am trying to do is create a 2nd level of authentication on AIX.
If the users 2nd level authentification fails, it should terminate his session completely.
Any ideas?
Thanks in advance...
"If you always do what you've always done, you will always be where you've always been."
I'm trying to close a users current shell from within Python and cannot find a solution.
I've tried os.system("exit")
But system calls a sub-shell.
What I am trying to do is create a 2nd level of authentication on AIX.
If the users 2nd level authentification fails, it should terminate his session completely.
Any ideas?
Thanks in advance...
"If you always do what you've always done, you will always be where you've always been."