- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mysql leds the /var full
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
01-19-2008 12:02 PM
01-19-2008 12:02 PM
mysql leds the /var full
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 01:05 PM
01-19-2008 01:05 PM
Re: mysql leds the /var full
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 02:26 PM
01-19-2008 02:26 PM
Re: mysql leds the /var full
/var/adm/wtmp is not a file that can be easily reduced without corruption. Have you done anything like ' vi /var/adm/wtmp'? If your output from 'last' command looks messed up then /var/adm/wtmp is corrupt. So 'null' this file with '>/var/adm/btmp' and go through SAM to trim this file in the future. Refer to basic administrator commands in SAM.
2) /var/adm/btmp records bad logins and is used with the 'lastb' command. Same rules from 1) apply here.
3) Run this commands, get the errors, paste them in a response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 04:08 PM
01-19-2008 04:08 PM
Re: mysql leds the /var full
The problems are logged in btmps that you mentioned in 2).
>/var/adm/wtmp is not a file that can be easily reduced without corruption.
You can use fwtmp(1M) to convert the files to an ascii format that you can edit.
>3) Run this commands, get the errors, paste them in a response.
Were you suggesting running last(1) and lastb(1)?
Note the latter may have passwords, so only a highly edited form should be added to this thread. See:
http://docs.hp.com/en/B2355-60130/last.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 04:30 PM
01-19-2008 04:30 PM
Re: mysql leds the /var full
Re: passwords. I have no idea what you are talking about. Logging into other accounts? You don't need a password from root to log into another account. That's what 'su' is for.
Getting into little side shows like this can be very distracting to the author. If you focus on answering the author's questions then you avoid this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 04:53 PM
01-19-2008 04:53 PM
Re: mysql leds the /var full
Read the lastb(1) warning about possible passwords.
>If you focus on answering the author's questions
I was warning about posting the contents of btmps vs your suggestion of errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 05:13 PM
01-19-2008 05:13 PM
Re: mysql leds the /var full
I've never seen any lastb report display a password. And is so then the author can easily filter out this information. So what's up?
Got a link to a real life example?
(* Practically speaking I think this is a dead end and the side show stopped. *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2008 05:51 PM
01-19-2008 05:51 PM
Re: mysql leds the /var full
The problem is that the password you accidentally typed at the login prompt was recorded in btmp. A hacker then compares last and lastb and looks for a correct login right after a bad login with a user name that suspiciously looks like a password. Thus, /var/adm/btmp must be kept at 600 permission, owned by root. This keeps the lastb command from reporting possible passwords.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2008 12:56 AM
01-20-2008 12:56 AM
Re: mysql leds the /var full
Exactly. That was why I reporting the warning in the man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2008 12:07 PM
01-20-2008 12:07 PM
Re: mysql leds the /var full
>Bill: I'm sure every one of us has at one time typed the username where the prompt said Password? and typed your password where the prompt said: login:
>Bill: The problem is that the password you accidentally typed at the login prompt was recorded in btmp.
Very true. I've done it too. Dennis was on-the-mark pointing out that '/var/adm/btmps' should be carefully managed and not made generally available for inspection, exactly as the manpages note, too.
>Michael: You don't need a password from root to log into another account. That's what 'su' is for.
True, of course, but both the success or failure of any transition is recorded in '/var/adm/sulog' --- yet another log in '/var'.
Regards!
...JRF...