How to truncate the wtmpx file (Doc ID 1011507.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 9 GA and later
All Platforms

Goal

The wtmpx file is growing, filling up the /var partition (often part of the root partition) . In extreme cases, it may even prevent the possibility of logging in, because utmpx entries cannot
be made, and login asks the user to exec login from the lowest level shell.

Wtmpx needs to be truncated without causing problems.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms