Nick:

funny thing... I was ready to ask exacltly the same than Michel!!! I'm
*finally* taking an unix class... and, having freevsd I set up a virtual
just for the class ;)...

in any case... one of the tools that I need to be the "teacher's
pet";=) is who... but doesn't work!!!!....

one thing that called my attention is that many man pages that make
references to utmp, refer to it as /var/run/utmp and *not*
/var/log/utmp...

the other thing that I was thinking is if this situation could be a result
of the modifications of ps!

in any case... look at this...
-----
wtmp begins Wed Jun 27 15:36:12 2001
[class9@cs399 class9]$ last | grep 'still logged in'
class11  ttyp2        cs399            Tue Jul  3 22:49   still logged in
class9   ttyp1        cs399            Tue Jul  3 22:49   still logged in
class3   ttyp4        063-151-109-103. Tue Jul  3 21:44   still logged in
class4   ttyp5        063-151-109-103. Tue Jul  3 21:07   still logged in
skarriga ttyp3        dyn-2-27.sou.min Tue Jul  3 19:56   still logged in
skarriga ttyp6        92Net-109.sou.ed Mon Jul  2 09:40   still logged in
[class9@cs399 class9]$ who
[class9@cs399 class9]$ ls -l /var/log/wtmp /var/log/utmp
-rw-r--r--    1 root     root            0 Jun 27 16:01 /var/log/utmp
-rw-r--r--    2 root     root        68352 Jul  3 22:49 /var/log/wtmp
[class9@cs399 class9]$ ls /var/log/utmp*
/var/log/utmp
[class9@cs399 class9]$ ls /var/run/utmp*
ls: /var/run/utmp*: No such file or directory
---------

any ideas? ... I even copy who from the hosts (it's different as reported
by diff)... with the same result!

Cheers!

Marcos

pd: in an unrelated issue (and probably off-topic for this list ;)... I do
need to install talk and finger... will appreciate any pointers (yup.. I
know.. i can... and i do read the fine manualS... that's why i'm asking
for pointers and not a step by step ;)

On 3 Jul 2001, Nick Burrett wrote:

> Michael Stump <[EMAIL PROTECTED]> writes:
> 
> > any idea why who and uptime function improperly
> > with 4 users uptime says 0 users
> > and who returns absolutly nothing
> 
> You are either missing /var/log/wtmp or /var/log/utmp.
> 
> 
> Nick.
> ------------------------- The freeVSD Support List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> -----------------------------------------------------------------------------
> 

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to