home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6553 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!dibbler.cs.monash.edu.au!tym
  3. From: tym@dibbler.cs.monash.edu.au (Tim MacKenzie)
  4. Subject: Absurd bug in /bin/login (Ultrix 4.2)
  5. Message-ID: <1992Aug29.020217.11480@monu6.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Computer Science, Monash University, Australia
  8. X-Newsreader: Tin 1.1 PL4
  9. Date: Sat, 29 Aug 1992 02:02:17 GMT
  10. Lines: 28
  11.  
  12. There is a problem with /bin/login under Ultrix 4.2 with ENHANCED security
  13. and local passwd/group/auth. (enhanced may not be necessary, but it does
  14. _not_ break when passwd info is imported).
  15.  
  16. This is TOTALLY ABSURD... read on please.
  17. On one machine, if the sum of the number of lines (possibly blank) in 
  18. ~/.rhosts and /etc/hosts.equiv is >= 58, and if your machine/user combination 
  19. does not appear within the first 57 lines, rlogin will get you in, but without
  20. groups, utmp, wtmp or motd (and goodness knows what else). [I was quite
  21. surprised when the login actually appeared in the auditlog].
  22.  
  23. Examples: 
  24. 58 blank lines in /etc/hosts.equiv, no ~/.rhosts: breaks.
  25. 57 blank lines in /etc/hosts.equiv, no ~/.rhosts: no break.
  26. 1 blank line in hosts.equiv, 56 blank  + remote host in ~/.rhosts: break.
  27.  
  28. On another machine, the magic number was 60 (I couldn't do much checking
  29. as I don't have root access there).
  30. ARGGGGGHHHHHH!
  31.  
  32. Does anyone have a drop in replacement for login, etc for Ultrix4.2 with
  33. enhanced security which is hack for hack compatible? (and possibly minus this
  34. particular bug).
  35.  
  36. This is crazy... next thing I'll find that if you have '\0\0\0\0\n' on line
  37. 1348 of your .rhosts it will give you a root login, just you wait!
  38. --
  39. -Tim MacKenzie (tym@dibbler.cs.monash.edu.au)
  40.