On Sat, Feb 26, 2000 at 11:31:43AM -0600, Nitebirdz wrote:

> As per the manual page: "If given one non-option argument, who uses that
> instead of /etc/utmp as the name of the file containing the record of 
> users logged on."  Another interesting piece of information from the man
> pages is this: "/etc/wtmp is commonly given as an argument to who to look at 
> who has previously logged on", although it is not directly related to
> Zaigui's problem I think.

> In any case, perhaps the first thing he should do is check to make sure he
> does have a /etc/utmp or /etc/wtmp file in his computer.  By the way, my
> command is working just fine but I still cannot find those two files (I do
> have /etc/wtmplock though, which is most likely places there while running
> the "who" command I guess).  However, I do have a /var/log/wtmp file that
> must provide the information.  Can anyone please help Zaigui and along the
> way clarify how the command works?  Thanks a lot.

        The utmp file is locate in /var/run on RedHat systems.  Older
Unix systems, like SCO, use to have both utmp and wtmp in /etc.  I think
you'll find that most Linux systems now have wtmp in /var/log and utmp
on /var/run.

        Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to