1.1.64, rxvt and utmp blues

1.1.64, rxvt and utmp blues

Post by Song Bac T » Sat, 19 Nov 1994 13:03:46



Hello the omnipotent Linux gods...  Please help me solve this puzzle.
I have rxvt version 2.10 that does not deal with the utmp entry
properly, i.e. user's name did not show up in who, w, or finger.

I thought I could live with that.  But moments ago I upgraded my
kernel to 1.1.64.  w ceased to work because a function that accesses
the /etc/utmp file fails.
It says:
_setutent: Can't open utmp file: No such file or directory

I tried to write my own little program that reads from the utmp file
with the functions in /usr/include/utmp.h.  They return a similar
error message as above.

I am running Debian 0.91 distribution (well, with so many changes
that it does not look Debian anymore).  The compiler is gcc 2.6.2.
Can someone please let me know what the problem is?  Why does utmp
access functions fail?

Thanks in advance.

Song Bac
---

 
 
 

1.1.64, rxvt and utmp blues

Post by S. Joel Ka » Sat, 19 Nov 1994 14:19:06



Quote:>Hello the omnipotent Linux gods...  Please help me solve this puzzle.
>I have rxvt version 2.10 that does not deal with the utmp entry
>properly, i.e. user's name did not show up in who, w, or finger.
>I thought I could live with that.  But moments ago I upgraded my
>kernel to 1.1.64.  w ceased to work because a function that accesses
>the /etc/utmp file fails.
>It says:
>_setutent: Can't open utmp file: No such file or directory
>I tried to write my own little program that reads from the utmp file
>with the functions in /usr/include/utmp.h.  They return a similar
>error message as above.
>I am running Debian 0.91 distribution (well, with so many changes
>that it does not look Debian anymore).  The compiler is gcc 2.6.2.
>Can someone please let me know what the problem is?  Why does utmp
>access functions fail?
>Thanks in advance.
>Song Bac
>---

        It looks like utmp accesses are failing because utmp doesn't
exist. 'touch' your utmp file to create it in the proper directory and
... bang ... all should be well again.

--

S. Joel Katz            Information on Objectivism, Linux, 8031s, and more

        Time flies like an arrow -- fruit flies like a banana.

 
 
 

1.1.64, rxvt and utmp blues

Post by John Got » Mon, 21 Nov 1994 01:57:48



: It says:
: _setutent: Can't open utmp file: No such file or directory

This one's been asked before.

ln -s /var/adm/utmp /etc/utmp

--

   Student Employee, Computer Aided Engineering Network (CAEN), Sun Support
GE -d+ H s+: g-- p? !au a-- w+ v C++++ UL++++ P+>++ L++ 3- E--- N+++ K- !W M--
 V-- -po+(---) Y+ t+ 5 j+ R- G? tv b+ D B- e+ u--- h f+ r n- y? <Linux rules!>

 
 
 

1. Fingerd broke with 1.1.64

I compiled 1.1.64 on my machine and now when you finger someone that is not
logged in, it shows that they have never logged in.

Any suggestions?

Bob Sanford

-----------------------------------------------------------------------------
Bob Sanford                          |    

Radar Engineering                    |                    -Goldfinger
Federal Aviation Administration      |  

2. malloc core dumping?

3. Userfs-0.8 unhappy w/ 1.1.62->1.1.64

4. RS/6000 connections using PPP

5. Kernel 1.1.64 Memory Quirk?

6. rdate rule

7. Linux 1.1.64 and iBCS don't mix

8. libmoto for linuxppc

9. Bug_rep:1.1.64 causes ftp problems.

10. Kernel change summary 1.1.64 -> 1.1.65

11. CDU31a= unknown device (1.1.64)

12. Kernel 1.1.64 - "Couldn't get a free page"

13. Problems: 1.1.64, eide, xf3.1 w/s3