home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22547 < prev    next >
Encoding:
Text File  |  1993-01-03  |  2.4 KB  |  65 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!newsserver.sfu.ca!wonge
  3. From: wonge@fraser.sfu.ca (Edmund Wong)
  4. Subject: Re: pwd command missing in L
  5. Message-ID: <1993Jan3.170106.449@sfu.ca>
  6. Sender: news@sfu.ca
  7. Organization: Simon Fraser University, Burnaby, B.C., Canada
  8. References: <726010584.AA29502@remote.halcyon.com> <1993Jan2.231947.4695@cbfsb.cb.att.com>
  9. Date: Sun, 3 Jan 1993 17:01:06 GMT
  10. Lines: 53
  11.  
  12. In article <1993Jan2.231947.4695@cbfsb.cb.att.com> wto@cbnewsg.cb.att.com (William T. O Connell) writes:
  13. >In article <726010584.AA29502@remote.halcyon.com> Randy.Edwards@f60.n128.z1.fidonet.org (Randy Edwards) writes:
  14. >>To: wonge@fraser.sfu.ca (Edmund Wong) 
  15. >> On 12-29-92 Edmund Wong wrote to All... 
  16. >> 
  17. >> EW>    HELP!.. I've been searching my system for the 'pwd' command,
  18. >>[...] 
  19. >> EW>    Everytime I log on as a non-root user, I get the following:- 
  20. >> EW>     Welcome to Linux SLS .... 
  21. >> EW>     ....etc 
  22. >> EW>      Your password will expire in 0 days. 
  23. >> EW>      No mail. 
  24. >> EW>      shell-init: Permission denied 
  25. >> EW>      pwd: Permission denied 
  26. >> EW>      : Permission denied 
  27. >> EW>      # 
  28. >> 
  29. >>   pwd is the command for Print Working Directory.  I think what you 
  30. >>want (but what do I know, I'm a unix-newbie :-) is "passwd". 
  31. >> 
  32. >>   Also, FWIW, you might want to look around for a file called 
  33. >>"perms.sh" which is a shell script which purports to fix the permission
  34. >>
  35. >>problems in the SLS release. 
  36. >>. 
  37. >>Randy 
  38. >
  39. >I believe your actual problem is that somewhere in the directory
  40. >path to your login directory, you permissions on one or more of your
  41. >directorys is wrong. try logging in as root, and check them.
  42. >
  43. >- Bill O'Connell     wto@ihlpx.att.com
  44. >
  45.  
  46.      The directory that had screwed up permissions was /.  It
  47. firstly, didn't have the correct Setgid(I think), but mostly,
  48. it was the permissions.
  49.  
  50.       To those who are ripping their hair out because of this
  51. problem, I suggest you check the permissions of '/'.  
  52.  
  53.       Do a 'ls -ld /'  as someone kindly suggested.  It should
  54. look like this:-
  55.  
  56.     drwxr-x-r-x  16  root      sys        672  Jan 2  09:25 //
  57.  
  58.  <ok..maybe not after the sys id.>
  59.  
  60.     
  61. -- 
  62. InterNet: wonge@fraser.sfu.ca  |  "Fail not; Learn Not.
  63.                                |  It is with failing, that one learns,
  64.                                |  So by Learning, one must fail." - Edmund Wong
  65.