From owner-freebsd-questions Mon Jul 24 08:59:06 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id IAA24458 for questions-outgoing; Mon, 24 Jul 1995 08:59:06 -0700 Received: from mail.rwth-aachen.de (mail.RWTH-Aachen.DE [137.226.144.9]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id IAA24427 for ; Mon, 24 Jul 1995 08:58:23 -0700 Received: from gilberto.physik.rwth-aachen.de by mail.rwth-aachen.de (PMDF V4.3-10 #7297) id <01HT98Z71H2O004QJF@mail.rwth-aachen.de>; Mon, 24 Jul 1995 17:32:51 +0100 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id RAA03893; Mon, 24 Jul 1995 17:44:33 +0200 Date: Mon, 24 Jul 1995 17:44:32 +0200 (MET DST) From: Christoph Kukulies Subject: Re: Problems with home dirs In-reply-to: <199507241357.KAA00496@by-tor.ifi.unicamp.br> from "Alexandre Moriya - esp" at Jul 24, 95 10:57:55 am To: moriya@ifi.unicamp.br (Alexandre Moriya - esp) Cc: freebsd-questions@freefall.cdrom.com (user alias) Reply-to: Christoph Kukulies Message-id: <199507241544.RAA03893@gilberto.physik.rwth-aachen.de> X-Mailer: ELM [version 2.4 PL23] Content-type: text Content-transfer-encoding: 7BIT Content-length: 1649 Sender: questions-owner@FreeBSD.org Precedence: bulk > > Hi all, > > I have a very strange problem ! > > Last friday I had to change the home directories of a unix > host from the / partition to the /usr partition. > Ok, I did that. I changed the entries in the passowrd files (using vipw) > and then moved the home dir from /home/USERx to /usr/home/HOST/USERx. > Great ! Since then NOBODY, but the root user is able to login. > > At the prompt, the user enter his username and then his password. > The /etc/motd message is showed and the message bellow appears: > > "login: /bin/csh: Permission Denied" > or > "login: /bin/sh: Permission Denied" > > I am able to login as root and then I tried su USERx and the message below > appears: > > "su: /bin/csh: Permission Denied" > or > "su: /bin/sh: Permission Denied" > > ANY Tips ?!? do /bin/csh and /bin/sh have 555 mode? (Or what they oughta have?) do the directories /usr/userx have the correct permissions/ownership? does /usr/bin/login have mode 4555 (-r-sr-xr-x) ? > Can Anybody help me ? I know it should have a very obvious solution > but I was not able to find that. Please, help me !!! > > Thanks a lot, > BYE > > -- > > Alexandre Moriya (RA 910061) > Centro de Computacao John David Rogers (CCJDR) > Instituto de Fisica Gleb Wataghin (IFGW) > Universidade Estadual de Campinas (UNICAMP) > Campinas - SP - Brasil > e-mail: > moriya@ifi.unicamp.br > moriya@dcc.unicamp.br > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues.physik.rwth-aachen.de 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Tue Jul 18 14:49:19 MET DST 1995 kuku@blues.physik.rwth-aachen.de: /usr/src/sys/compile/BLUESGUS i386