- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove last logging details in the login promp...
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
тАО03-10-2011 12:01 AM
тАО03-10-2011 12:01 AM
I have remove few details such as /etc/copyright etc.
I need to remove last logging details as well.
from where I can do that ?
Need some helps
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 12:35 AM
тАО03-10-2011 12:35 AM
Re: Remove last logging details in the login prompt
in /etc/default/security
uncomment and change the line
DISPLAY_LAST_LOGIN=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 12:49 AM
тАО03-10-2011 12:49 AM
Re: Remove last logging details in the login prompt
All common user's login actions are in /etc/profile. Please check carefully this file to see if exist actions that could be commented.
Please keep in mind that if this file is damaged will affect at whole process of users logging. Make a copy before manipulate it.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 01:25 AM
тАО03-10-2011 01:25 AM
Re: Remove last logging details in the login prompt
I have go through /etc/profile file and I couldn't find any entry related to last login.
it is HP-UX 11.23
Dhananjaya
PS : /etc/profile is attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 01:38 AM
тАО03-10-2011 01:38 AM
Re: Remove last logging details in the login prompt
Yes you have, if you need a clear login script, you could comment these:
1.- #cat /etc/copyright, to avoid legal screen
2.- Comment display login message "You have mail."
if [ -f /usr/bin/mail ]
then
#if mail -e
#then echo "You have mail."
#fi
fi
Also check for each homedir user the .profile content.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2011 06:58 AM
тАО03-10-2011 06:58 AM
Re: Remove last logging details in the login prompt
thanks for the support.
It was success. I check that one and It was already commented. Hope default value is yes.
By the way when I un comment and restart the service after parameter set to no, my requirement was succeeded.
Thanks for the all.
Dhananjaya