home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14468 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.0 KB

  1. Path: sparky!uunet!gatech!ncar!noao!arizona!optima.UUCP
  2. From: dsiegel@optima.UUCP (Dave Siegel)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: HELP!!!
  5. Message-ID: <22069@optima.cs.arizona.edu>
  6. Date: 14 Sep 92 20:16:56 GMT
  7. References: <2591@bsu-cs.bsu.edu>
  8. Sender: news@cs.arizona.edu
  9. Lines: 42
  10.  
  11. > I have a small problem.  Somehow, either someone changed or
  12. > the password file was trashed on our AT&T 386WGS UNIX v3.2.2
  13. > computer system.  Only 1 login now works and automatically
  14. > loads and runs a program.
  15. neat.
  16. > The question: How can I reset the password for root or
  17. > otherwise get around the system password feature?
  18. you can't.
  19. > I don't want to reload the operating system from scratch!  There
  20. > are somethings on the drive I cannot replace.
  21. i hope you have a recent backup.
  22.  
  23. well, here are some things that you can try.  I've hosed not one, but two
  24. machines by torching the root acct in some fashion, and in both cases, i've
  25. had to reload the operating system, or part of it.
  26.  
  27. If it's just the password that's messed up, you should be able to boot into
  28. a single user mode.  Check your manual on how to do this.  If you have 
  29. a corrupted password file...a case being that there is no root acct at all,
  30. single user mode will not work.  You can check this by trying to log in
  31. remotely.  Ping works, but telnet and rlogin don't (there's no root acct
  32. to initidate the in.telnetd and in.rlogind daemons).
  33.  
  34. Once you are in single user mode, you should be able to mount the appropriate
  35. file systems, and edit the passwd file to your liking.
  36.  
  37. In the case that there's no root acct, you may be able to boot off of a tape,
  38. or possibly floppy, boot a miniroot, then mount the file systems, and take
  39. off.  possibly, from a floppy, you could untar, or copy via cpio, the passwd
  40. file over to /etc/passwd.
  41.  
  42. if none of these work, rloading is your only option.  if you come up with 
  43. something else, i sure would like to know.
  44.  
  45. -dave
  46.  
  47. --
  48. -----
  49. Dave Siegel              dsiegel@cs.arizona.edu    dsiegel@biosci.arizona.edu
  50. Computer Engr, U of Az   dsiegel@hacks.arizona.edu dsiegel@seagull.tucson.az.us
  51.