- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Inactive users more than 60 days
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
Discussions
Discussions
Forums
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
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
тАО06-02-2004 06:42 PM
тАО06-02-2004 06:42 PM
Can anybody tell me how to find out the inactive users on the system for more than 60 days.
Means they have not logged into the system for than 60 days.
Thanks and Regards,
Amit Manna
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 06:45 PM
тАО06-02-2004 06:45 PM
Re: Inactive users more than 60 days
finger -i username
should give you the idle time....
with best wishes
naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 06:51 PM
тАО06-02-2004 06:51 PM
Re: Inactive users more than 60 days
will give some output which can then be used in some shell script to meet your need.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 07:07 PM
тАО06-02-2004 07:07 PM
Solutionplease refer to this post:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=150881
i believe it has some scripts which u may use.
your previous post ask about trusted system, where there are parameters which u could set on user inactivity.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 02:47 AM
тАО06-03-2004 02:47 AM
Re: Inactive users more than 60 days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 03:49 AM
тАО06-03-2004 03:49 AM
Re: Inactive users more than 60 days
for i in `cat /etc/passwd |awk -F: '{print $1}'`
do
finger $i
done
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 01:30 PM
тАО06-03-2004 01:30 PM
Re: Inactive users more than 60 days
Assuming that all users have to access the .profile file when logging in, you could try something like:
find /home \( -name ".profile" \) -atime +60 -print
This lists the .profile files in /home directory that have not been accessed within the last 60 days.
Regards,
Maria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 02:52 PM
тАО06-03-2004 02:52 PM
Re: Inactive users more than 60 days
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA760979&forumId=1
I have assigned points to 14 of 140 responses to my questions.
Thanks...Geoff
PS - it is allright to assign 0 points as well for answer that don't help - IE assign me 0 points for this post.