03-10-2008
Login and logout time of a session
Hi,
How can I find out the login and logout time of the old UNIX session/user?.
9 More Discussions You Might Find Interesting
1. Red Hat
Hello all -
I'm finishing up a script that I wrote.
This is what I did:
I added some lines to the .bash_profile that will call my startup script:
cd $HOME/startup
./startup.scr
This startup script will create some directories, move some files, and then startup an application:
cd... (4 Replies)
Discussion started by: Heron
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all
I know ho I can run a script when a user logs in, viz using the .login or .profile file, however what can I use to run a script when a user logouts ?
Thanks
J :confused: (1 Reply)
Discussion started by: jhansrod
1 Replies
3. Shell Programming and Scripting
what function would tell me that a user has logged in or out?
i already know from my script the users name
i already know in real time there was an event
how an I tell if that event was a login or logout? Any ideas?
# i did try comparing the file sizes for change but various users may... (8 Replies)
Discussion started by: nortypig
8 Replies
4. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
5. Shell Programming and Scripting
hi,
im executing one script i,e sh test.sh
i want to log out the sessing after script execution.
and i do't want to user command like this.
sh test.sh ; exit
can i exit the session with the use of script
pl help (1 Reply)
Discussion started by: arvindng
1 Replies
6. OS X (Apple)
Dear readers
I use SnowLeopard 10.6.2 and need to do some special tasks at login and logout of an sepcific user.
My problem is, how do I send a string "login" respectively "logout" from computer "A", where the login/logout script runs, to computer "B" where some other tasks need to be done.
... (3 Replies)
Discussion started by: tthaler
3 Replies
7. Shell Programming and Scripting
Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies
8. UNIX for Dummies Questions & Answers
hi,
i want to make a session logout in c++/unix which will redirect the user to the login page if the user is idle for 5mins (1 Reply)
Discussion started by: anubhav sharma
1 Replies
9. Shell Programming and Scripting
Hello Experts,
Am very much new to the bash shell scripting.I need a small favour,I need a shell script to get Login and Logout information in a csv file.Can some one help me out please.
Regards, (1 Reply)
Discussion started by: ahmed.vaghar
1 Replies