home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10651 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.3 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!dtix!mimsy!afterlife!adm!news
  2. From: ash@omega.uucp (Andrew Hardie)
  3. Newsgroups: comp.unix.questions
  4. Subject: logname: no login name problem, part 2
  5. Message-ID: <32318@adm.brl.mil>
  6. Date: 2 Sep 92 09:58:30 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 24
  9.  
  10.  
  11. Problem: "logname" returns no login name, but who gives right answer,
  12.          problem with utmp/wtmp suspected.
  13. System: SCO R4.1, after upgrade applied.
  14. Tried: deleting utmp and wtmp, no change.
  15.  
  16. I posted about this earlier. Some more info ...
  17. Problem only arose after upgrading from R4 to R4.1.
  18. Problem only affects userids that existed before the upgrade, new ones
  19. added after the upgrade do not have the problem.
  20. Problem only affects the first login by a userid; subsequent simultaneous
  21. logins by same user (e.g. on console multiscreen) do not have the problem
  22. and logname returns correct answer.
  23.  
  24. Any suggestions???
  25. Thanks
  26.  
  27. Andrew
  28. -- 
  29. +----------------------------------------------------------------------------+
  30. | Andrew Hardie                                              ash@omega.co.uk |
  31. | London, England                                      uknet!cctal!omega!ash |
  32. | Fax: 071 219 5997                                           ash@omega.uucp |
  33. +----------------------------------------------------------------------------+
  34.