home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10059 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!sun-barr!ames!pacbell.com!network.ucsd.edu!munnari.oz.au!mel.dit.csiro.au!aurora!jmp
  3. From: jmp@dar.csiro.au (POWELL James;Change Jmp Impacts;575)
  4. Subject: Re: HELP, can't login as user....
  5. Message-ID: <jmp.715852154@atmos>
  6. Sender: @aurora.dar.csiro.au
  7. Organization: CSIRO Division of Atmospheric Research
  8. References: <1992Sep3.134928.23515@athena.mit.edu> <9209052346@clifton.hobby.nl>
  9. Date: Mon, 7 Sep 1992 07:49:14 GMT
  10. Lines: 40
  11.  
  12. baron@clifton.hobby.nl (Wim `Blue Baron' van Dorst) writes:
  13. >
  14. >jgifford@attmail.com () writes:
  15. >> I CAN login as root, but not as anything else.  not even sync
  16. >> login will work.
  17. >> 
  18. >> I took my computer to work to give some of my friends a taste of power, 
  19. >> but I didn't want to leave the system as open as it was, so I changed
  20. >> all the permissions to u+rw go-rwx  I then restored the rights on the 
  21. >> /bin, /etc, /dev, /lib, /usr, and /tmp directories.  as near as I can
  22. >> tell, everything is as it should be, but I can only login as root.
  23. >> (YES, /lib/{shared lib's} ARE ugo+rx-w).
  24. >> 
  25. >Several things may have gone wrong. Most probable is that you happen to have
  26. >removed the setuid of /bin/login. Reset it with
  27. >    # chmod +s /bin/login
  28. >
  29. >> The error message I get is:
  30. >> raskol login: sync
  31. >> login:  no shell:  No such file or directory
  32. >
  33. >This seem to indicate that the shell chosen for this userid is not
  34. >there. Check to see which shell is in /etc/passwd for this userid,
  35. >and see that it is there. Note that the default shell is /bin/sh;
  36. >check the presence of that too.
  37.  
  38. Check that / has execute permission for everybody! This had me stuck 
  39. or a couple of days!
  40.  
  41. Good luck...
  42. --
  43.                           \|/             ((   )))
  44.                          --O--           ((______)))
  45.                           /|\      /\   / //////
  46.                                   /  \__  /// /      James Powell  [:-) 
  47.     Honda      o   DoD #329   _/\/  _   \           Melbourne, Australia
  48.   CBR-600FN   \_\     _______/   \_/ \   \_  **** EMail: jmp@dar.csiro.au ****
  49.  ____________O/_O____/                 \    \__________________________________
  50.  
  51.            "I wouldn't be so paranoid if you weren't all against me!"
  52.