1755383 Members
3503 Online
54811 Solutions
New Discussion юеВ

fwtmp & wtmpfix

 
SOLVED
Go to solution
Victor_5
Trusted Contributor

fwtmp & wtmpfix

I am using 11.00, I only have man pages for both of commands, where can I find them? Thanks.
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: fwtmp & wtmpfix

Victor,

They're in
/usr/sbin/acct/

HTH,
Pete

Pete
Steven Sim Kok Leong
Honored Contributor

Re: fwtmp & wtmpfix

Hi,

/usr/sbin/acct/fwtmp

Hope this helps. Regards.

Steven Sim Kok Leong
Helen French
Honored Contributor

Re: fwtmp & wtmpfix

# man fwtmp ( will give you the answer)

It's in /usr/sbin/acct !
Life is a promise, fulfill it!
MANOJ SRIVASTAVA
Honored Contributor

Re: fwtmp & wtmpfix

Hi


/usr/sbin/acct has fwtmp also you amy like to look at this :

to read wtmp file, that now seems to be corrupted ,do like this:

the following will convert it to ASCII file
#/usr/sbin/acct/fwtmp < /var/adm/wtmp > /tmp/file
then you can either edit the file or read it.

Then you can convert it back to binary form:
##/usr/sbin/acct/fwtmp -ic < /tmp/file > /var/adm/wtmp



Manoj Srivastava