home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 24993 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.2 KB  |  53 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!Sirius.dfn.de!news.DKRZ-Hamburg.DE!rzsun2.informatik.uni-hamburg.de!rzdspc18.informatik.uni-hamburg.de!hamdy
  3. From: hamdy@rzdspc18.informatik.uni-hamburg.de (Safuat Hamdy)
  4. Subject: Re: HELP: shell-init: Permission denied
  5. Message-ID: <1993Jan21.155119.11340@informatik.uni-hamburg.de>
  6. Sender: news@informatik.uni-hamburg.de (Mr. News)
  7. Organization: University of Hamburg, FRG
  8. References:  <1993Jan18.034910.28658@cronkite.ocis.temple.edu>
  9. Date: Thu, 21 Jan 93 15:51:19 GMT
  10. Lines: 41
  11.  
  12. In article <1993Jan18.034910.28658@cronkite.ocis.temple.edu>, billj@astro.ocis.temple.edu (Bill Jones) writes:
  13. |> I am not sure what happened, but I am now having a problem when logging 
  14. |> in as any user other than root.  The symptoms are as follows:
  15. |> 
  16. |> login: user1
  17. |> password: 
  18. |> shell-init: Permission denied
  19. |> : Permission denied
  20. |> pwd: Permission denied
  21. |> : Permission denied
  22. |> musicman:> dir       <------ my prompt (missing the pwd)
  23. |> [ usual directory listing ]
  24. |> : Permission denied
  25. |> : Permission denied
  26. |> : Permission denied
  27. |> 
  28. |> The 'pwd: Permi...' error message I think is coming from my
  29. |> prompt statement, but what is 'shell-init'?  I am pretty
  30. |> sure all my dir permissions and file permissions are correct.
  31. |> The only thing I can point my finger to as the cause of this is that
  32. |> the computer was turned off without shuttting down first, but it 
  33. |> had been sittting idle for over an hour, and update was running...
  34. |> (no i didn't turn it off myself..)
  35. |> 
  36.  
  37. Again and again and again ...
  38.  
  39. 1. the login-dir of your user must be owned by that user and it must have read and execute
  40.    permissions set for the owner.
  41.  
  42. 2. the shell-initialization-files (for bash that is .bash_profile, .bashrc, etc., for tcsh, if
  43.    you have, that is .login and .cshrc. see BASH(1) (TCSH(1)) man pages for more info about this 
  44.    topic) must be owned by your user and must have at least read and exec permissions set for
  45.    your user.
  46.  
  47. pwd, dir etc. will work fine. I recommend to use USERADD(8) because initialization and perms
  48. setup will be done automatically.
  49.  
  50. Safuat Hamdy
  51.  
  52. hamdy@rzdspc1.informatik.uni-hamburg.de
  53.