9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
Can you please let me know how can and where we will find the logs. ie,which user is login and logout from server and by using which ip address they accessed server.
please let me know the steps and folder, file names to trace the logs from server . we are using System = SunOS 5.10.
Please... (10 Replies)
Discussion started by: kancherla.sree
3. 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
4. OS X (Apple)
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
5. Shell Programming and Scripting
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
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
7. 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. UNIX for Dummies Questions & Answers
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 ?
J :confused: (1 Reply)
Discussion started by: jhansrod
9. 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:
This startup script will create some directories, move some files, and then startup an application:
cd... (4 Replies)
Discussion started by: Heron