When the temp user logs in i see his session as below.
When he logs out by either firing exit command or closing the putty window or clicking disconnect on mRemote i see temp user session destroyed as below.
This is what i m doing catch a user logout action.
and in the
This works fine when the user types exit command to logout of the session.
But when he logs out by closing the putty window or disconnect mRemote session to my L\Unix server the user session terminates but ~/.bash_logout is not triggered and thus flag_login file remains denoting the user is still on.
I do have the root privileges.
Can you please let me know how can i catch putty window close or mRemote disconnect the same way as i am catching the exit command to work ?
Hi I'm new to Shell scripting .Can anyone please help me how to capture user's login and logout details and load them into a table...
we are using Oracle DB on UNIX:confused: (3 Replies)
Hi,
i'm trying to configure /etc/syslog.conf for log user access.
In debian i add:
auth,authpriv.* @serverName
I don't know the correct Aix syntax for syslog :(
My @serverName get the log successfully..
I need to log correct/incorrect login attempts.
Thanks (5 Replies)
Yo,
I program Unix for fun- except when editing my website removed by reborg - and wanted to learn how to track, trap, and use to my advantage a user keypress. I know there is a built-in JS function that can do that, but Javascript is a client-side language, therefore not usable in Unix, and... (2 Replies)
hi ,
i need to run a script that delete files when i logout as a user other than root user .
I have tried out using .bash_logout but that doesnt seem to work , so any alternative for this to be done.
Thanks in advance,
Harsha (6 Replies)
Hi
When executing some commands, we need to re-login into the account.
What happens when logged out and login ?
Are there any scripts (.bashrc .... ) to be executed or to update system files.
Help Me .......... (1 Reply)
Hi everybody, im a newer, i want to setup a logfile to capture information about user login/logout (and some other events ex: a user ftp, run a speacial command) on my system in HP-UX, pls help me.
i think only edit file /etc/syslog.conf but i dont know how to do it.
Help me. (3 Replies)
Hi everybody, im a newer, i want to setup a logfile to capture information about user login/logout (and some other events ex: a user ftp, run a speacial command) on my system in HP-UX, pls help me.
i think only edit file /etc/syslog.conf but dont know how to do it.
Help me. (0 Replies)
I have SCO OpenServer release 5
I used TIMEOUT and TMOUT in .profile but I donīt Know if is correctly
WND=/usr/synergy/dbl
DTKMAPFIL=/u/ics/icsdat/icsmap.ics
umask 000 ... (1 Reply)