- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User logout status
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 03:52 AM
05-09-2007 03:52 AM
User logout status
Is there any way to find whether user has logged out or was killed.
Actually I want to find out whether a user logged out using command or thru CDE Exit button or was forcefully killed by root
Regds
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 04:20 AM
05-09-2007 04:20 AM
Re: User logout status
If you have a time, you can check /var/adm/syslog.log
If it was a system problem you will know there.
You can check the root keyboard log which defaults to ~/.sh_history
The lack of a cleanup on a kill might leave the user left on the last command display as logged in.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 04:30 AM
05-09-2007 04:30 AM
Re: User logout status
I noticed in their home directory theres a .dt directory with some logs.
startlog shows starting, but it doesn't show anything about them logging out.
There is another directory called sessionlogs and in there theres the logs on sessions. By default it doesn't log, but it looks like if you want to know in the future, you can turn logging on.
servera:root /home/username/.dt/sessionlogs # cat servera_DISPLAY=XXX.XXX.XXX.XXX:0
This session log file is currently disabled.
To enable logging, edit /home/username/.dtprofile and
remove dtstart_sessionlogfile=/dev/null line.
You could enable logging and maybe it would tell.
But if you are going against something that had happened it doesn't look like much is logged. You could check the files under .dt and check the ones mentioned above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 04:38 AM
05-09-2007 04:38 AM
Re: User logout status
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=912830&admit=-682735245+1178728578570+28353475
Hope that helps...
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2007 12:43 AM
05-28-2007 12:43 AM
Re: User logout status
What I actually wanted to know is to find why did a user logged out when he was trying to unlock the screen, after being away from the W/S for some hrs.
I did check in the syslog file but was unable to trace anything. Also there is no TMOUT value set ( its 0 ).
Piyush