home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sunic!dkuug!daimi!poe
- From: poe@daimi.aau.dk (Peter Orbaek)
- Subject: Re: etc/utmp file not updated.
- Message-ID: <1992Nov20.095519.10869@daimi.aau.dk>
- Sender: news@daimi.aau.dk
- Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
- References: <1992Nov20.075629.20271@ifi.uio.no>
- Date: Fri, 20 Nov 92 09:55:19 GMT
- Lines: 35
-
- runefr@ifi.uio.no (Rune Fr|ysa) writes:
-
-
- >Hi, I have a minor problem, using the SLS 0.98pl1 package with Linux 0.98pl5.
-
- >Running w on my system i get something like:
- >User tty idle
- >root some data
- >sync ttyp1 2days
-
- >Now, sync wasn't supposed to be there. ps -axu doesn't show anyone but root.
- >Looking into the wtmp file, I see that sync was logged in at some time, and
- >then crash.
-
- >Seems like someone hasn't cleaned up the utmp file propperly. Anyone who knows
- >how to solve this problem?
-
-
- Put this in your /etc/rc script:
-
- rm -f /etc/utmp ; touch /etc/utmp
-
- this way it'll be cleaned up each time you boot.
-
- >---------===============================================--------------
- >Rune Froysa, |"Science is the attempt to make the
- >Dept. of Informatics | chaotic diversity of our sense experience
- >University of Oslo, Norway | correspond to a logically uniform system
- >E-mail:runefr@ifi.uio.no | of thought" - Albert Einstein.
-
-
-
- --
- Peter Orbaek <poe@daimi.aau.dk>
- Hasle Ringvej 122, DK-8200 Aarhus N, DENMARK
-