APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

utmpx wtmpx bcheckrc OSR5

© December 2004 (various authors)

What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):

From: Bela Lubkin <belal@sco.com>
Subject: Re: no run level
Date: Sun, 2 Feb 2003 04:59:48 GMT
References: <2455004.1043866033@dbforums.com>
<mvuo3vge1ktf8a7p1a5chithgkn7i1qufd@4ax.com> Scott McMillan wrote: > >That script didn't fix it, but I found this in /etc/rc.d/8/userdef > > > >> /etc/utmp > >> /etc/wtmp > >> /etc/utmpx > >> /etc/wtmpx > > > >And a bunch of other stuff. I commented those lines out and now it's > >working after a reboot. > > Wow, someone definitely misunderstood this write-up > https://aplawrence.com/cgi-bin/ta.pl?arg=105610 > > which clearly states "The above script can be run manually prior to > shutting the system down". Your system was clearing these out as it > was coming back up.

Current releases of OSR5 do blank utmp and utmpx during startup (it's
wrong to blank wtmp*).  But the blanking is done much earlier in
startup, in /etc/bcheckrc (which is run very early out of inittab).


Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> utmpx wtmpx bcheckrc OSR5

Inexpensive and informative Apple related e-books:

Take Control of iCloud, Fifth Edition

Take Control of Preview

Take Control of Automating Your Mac

Take Control of Upgrading to El Capitan

iOS 8: A Take Control Crash Course

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Beware of bugs in the above code; I have only proved it correct, not tried it. (Donald Knuth)

Linux posts

Troubleshooting posts

This post tagged:



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode