home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- 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
- From: hamdy@rzdspc18.informatik.uni-hamburg.de (Safuat Hamdy)
- Subject: Re: HELP: shell-init: Permission denied
- Message-ID: <1993Jan21.155119.11340@informatik.uni-hamburg.de>
- Sender: news@informatik.uni-hamburg.de (Mr. News)
- Organization: University of Hamburg, FRG
- References: <1993Jan18.034910.28658@cronkite.ocis.temple.edu>
- Date: Thu, 21 Jan 93 15:51:19 GMT
- Lines: 41
-
- In article <1993Jan18.034910.28658@cronkite.ocis.temple.edu>, billj@astro.ocis.temple.edu (Bill Jones) writes:
- |> I am not sure what happened, but I am now having a problem when logging
- |> in as any user other than root. The symptoms are as follows:
- |>
- |> login: user1
- |> password:
- |> shell-init: Permission denied
- |> : Permission denied
- |> pwd: Permission denied
- |> : Permission denied
- |> musicman:> dir <------ my prompt (missing the pwd)
- |> [ usual directory listing ]
- |> : Permission denied
- |> : Permission denied
- |> : Permission denied
- |>
- |> The 'pwd: Permi...' error message I think is coming from my
- |> prompt statement, but what is 'shell-init'? I am pretty
- |> sure all my dir permissions and file permissions are correct.
- |> The only thing I can point my finger to as the cause of this is that
- |> the computer was turned off without shuttting down first, but it
- |> had been sittting idle for over an hour, and update was running...
- |> (no i didn't turn it off myself..)
- |>
-
- Again and again and again ...
-
- 1. the login-dir of your user must be owned by that user and it must have read and execute
- permissions set for the owner.
-
- 2. the shell-initialization-files (for bash that is .bash_profile, .bashrc, etc., for tcsh, if
- you have, that is .login and .cshrc. see BASH(1) (TCSH(1)) man pages for more info about this
- topic) must be owned by your user and must have at least read and exec permissions set for
- your user.
-
- pwd, dir etc. will work fine. I recommend to use USERADD(8) because initialization and perms
- setup will be done automatically.
-
- Safuat Hamdy
-
- hamdy@rzdspc1.informatik.uni-hamburg.de
-