Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

utmp question

Status
Not open for further replies.

chomps303

MIS
Sep 30, 2003
83
0
0
US
I installed 5.07 and in the past week I have gotten the message that I can't login some problem with utmp. I remember seeing this years ago but can't seem to remember what to do to fix this problem.

Any suggestions?

Thanks

Brandt
 
This might work for you.

#!/sbin/sh
# /sbin/clearutmp
#
# clear utmp, wtmp, utmpx, wtmpx on shutdown or bootup
#
>/etc/utmp
>/var/adm/utmp
>/etc/wtmp
>/var/adm/wtmp
>/etc/utmpx
>/var/adm/utmpx
>/etc/wtmpx
>/var/adm/wtmpx
 
Thanks

I will try this. Do you have any idea why this is happening?

Thanks again

Brandt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top