On Fri, Jun 05, 1998 at 08:28:06PM -0400, Matt wrote:
> HELP!
> 
> I am havin some minor system problems due to the fact that my /var/run/utmp
> file seems to be out of order.
> 
> Can this file be deleted?  (i assume not) 
> 
> my main problem area is logins and TOP won't run.
> 
> ideas?

When utmp gets trashed on other Unixes, the usual way to clean it up
is to go to single-user mode then type:

        cat > /var/run/utmp
followed by
        ^D

which should truncate it to zero-length but leave permissions unchanged.
Then shut it all the way down and reboot.

Fred
-- 
-------------------------------------------------------------------------------
 .----    Fred Smith    /                                                      
( /__  ,__.   __   __ /  __   : /                                              
 /    /  /   /__) /  /  /__) .+'           Home: [EMAIL PROTECTED] 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to