- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create /var/adm/btmp file !!
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
09-12-2006 12:45 AM
09-12-2006 12:45 AM
I understood the imporatnce of "btmp" file on security standpoint. One of my system has no "btmp" file. How can I get it back, or create new "btmp" data file.
Thxs, WH
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 12:52 AM
09-12-2006 12:52 AM
Re: Create /var/adm/btmp file !!
You want to use the command
#touch /etc/btmp
remember this file keeps sensitive information so you want to restrict the access to it.
To view the information use the lastb command.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 12:57 AM
09-12-2006 12:57 AM
Re: Create /var/adm/btmp file !!
As root.
touch /var/adm/btmp
That will create it and it should be able to be updated immediately. You may need to restart syslog.
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
09-12-2006 01:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 01:33 AM
09-12-2006 01:33 AM
Re: Create /var/adm/btmp file !!
Well, it appears that you posted this about four times. That said:
As root, do:
# touch /var/adm/btmp
# chmod 600 /var/adm/btmp
*Note* that you make the file readable only by 'root'. You don't want users snooping to see the clear-txt bungled login information!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 02:03 AM
09-12-2006 02:03 AM
Re: Create /var/adm/btmp file !!
Got another Qn:
What needs be done, if /var/adm/inetd.sec file vanishes.
Thxs, WH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 02:13 AM
09-12-2006 02:13 AM
Re: Create /var/adm/btmp file !!
This explains the situation:
"The file inetd.sec allows the system administrator to control which hosts (or networks in general) are allowed to use the system remotely. This file constitutes an extra layer of security in addition to the normal checks done by the services."
"If file /var/adm/inetd.sec does not exist, security is limited to that implemented by the servers."
For more info, take a look at this doc:
http://docs.hp.com/en/B2355-90696/inetd.sec.4.html
Regards,
Jaime