home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mips / 1058 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.sys.mips
  2. Path: sparky!uunet!munnari.oz.au!metro!basser.cs.su.oz.au!swift!suite.sw.oz.au!chris
  3. From: chris@suite.sw.oz.au (Chris Maltby)
  4. Subject: Re: Problems with root passwd!!!!
  5. Organization: Softway Pty Ltd
  6. Date: 20 Nov 92 06:14:07 GMT
  7. Message-ID: <chris.722240047@suite.sw.oz.au>
  8. References: <1992Nov12.213521.26689@tandem.com> <1992Nov18.083608.15657@cxbne.cx.OZ.AU>
  9. Sender: news@softway.sw.oz.au (Usenet)
  10. Lines: 34
  11.  
  12. In <1992Nov18.083608.15657@cxbne.cx.OZ.AU> brett@cxbne.cx.OZ.AU (Brett Worth) writes:
  13.  
  14. >chopper@gumbytsg.tandem.com (Michael Chop) writes:
  15. >>One of our mips machines is experiencing the following problem
  16. >
  17. >>The user(also a super user) couldnt log in as root as his root passwd was
  18. >>not being accepted.  He tried su but that was of no help.
  19. >
  20. >>So I went down to single user and removed the root passwd. I then tried to
  21. >>set a new root passwd. 
  22. >
  23. >>Everytime I did a 
  24. >># passwd 
  25. >
  26. >>I would get,
  27. >
  28. >>New passwd:
  29. >>Re-enter new passwd:
  30. >
  31. >I have seen a similar problem to this a long time ago on an RSX system.
  32. >
  33. >The problem turned out to be that the console terminal was in a mode
  34. >there it was doing a LF and a CR when the RETURN key was hit.  Enter
  35. >icrnl and you get two NLs.
  36.  
  37. It can also be because the passwd (and su) command opens /dev/tty
  38. to read the passwd. If some other process pgrp matches the controlling
  39. pgrp of the terminal you are on, the open of /dev/tty will fail. It
  40. can then read EBADFs until satisfied, but no banana.
  41. -- 
  42. Chris Maltby - Softway Pty Ltd        Internet: chris@softway.sw.oz.au
  43.  
  44. PHONE:    +61-2-698-2322    "I'm waiting for X-Windows to become just that;
  45. FAX:    +61-2-699-9174     Ex-Windows" - A McGrath.
  46.