- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Prevent wtmp entry for ftp logins for specific use...
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
11-19-2001 11:00 AM
11-19-2001 11:00 AM
Prevent wtmp entry for ftp logins for specific users
I noticed that my wtmp file is growing with each ftp login.
My question is-
Can I prevent these ftp login entries from being put into wtmp in the first place for a specific user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:09 AM
11-19-2001 11:09 AM
Re: Prevent wtmp entry for ftp logins for specific users
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:27 AM
11-19-2001 11:27 AM
Re: Prevent wtmp entry for ftp logins for specific users
wtmp is independent from the files that log to it, so it is not like you can just edit a config file. If you are concerned about the size of wtmp, do some automated archiving in cron, something like...
cp wtmp wtmp.$DATE
cat /dev/null > wtmp
gzip wtmp.$DATE
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:35 AM
11-19-2001 11:35 AM
Re: Prevent wtmp entry for ftp logins for specific users
Originally I thought about samba, but I would have to add some customization to the application on the HPUX side. Each line would need a ^M on the end to make them "DOS"ish. Using ftp did it automatically .
I was trying to avoid modifying the system supplied by our software vendor, but it looks like I can't get away from it.
Thanks for the reply...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:42 AM
11-19-2001 11:42 AM
Re: Prevent wtmp entry for ftp logins for specific users
Now from reading you have a line
init:3:initdefault:
with 3 being the run level. What if you bring it down to 2 ? Maybe this will slow down the logging. Not sure though just a thought. Here are some links
http://docs.hp.com/hpux/onlinedocs/B2355-90682/B2355-90682.html
http://us-support.external.hp.com/cki/bin/doc.pl/sid=8bbcc35e0fe3bc6ca7/screen=ckiDisplayDocument?docId=200000040986508
http://us-support.external.hp.com/cki/bin/doc.pl/sid=9851c9ae08ae1d5eba/screen=ckiDisplayDocument?docId=200000024631917