From owner-freebsd-questions Sun Sep 20 11:09:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05488 for freebsd-questions-outgoing; Sun, 20 Sep 1998 11:09:36 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freight.msn.bc.ca (pc-21656.bc.rogers.wave.ca [24.112.126.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05473 for ; Sun, 20 Sep 1998 11:09:29 -0700 (PDT) (envelope-from maillist@msn.bc.ca) Received: from localhost (maillist@localhost) by freight.msn.bc.ca (8.8.7/8.8.7) with SMTP id LAA16286; Sun, 20 Sep 1998 11:11:06 -0700 (PDT) (envelope-from maillist@msn.bc.ca) Date: Sun, 20 Sep 1998 11:11:05 -0700 (PDT) From: Ben Pepa To: Michael Henry cc: freebsd-questions@FreeBSD.ORG Subject: Re: MAJOR PROBS! In-Reply-To: <199809200723.AAA14062@freight.msn.bc.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 20 Sep 1998, Michael Henry wrote: > > > I have checked and bash exists and all the permissions in it's path > > > are correct, and I never used .login_conf anyway, so I'm all out > > > of ideas. > > > > > > Would anyone like to have a guess? Is the parent directory's permissions correct, and not neccessarily the .login_conf file? > > > > I just had this happen. For me, it turned out the permissions on the home > > directories were wrong and everything was owned by root. Check to make > > sure. > > The permissions are all correct. > > Did this happen after cvsup for you? I'd like to know what caused it so I > can avoid this in future. Actually, this happend after a restore from a dump. The dump must have been unsuccessfull as restore complained a plenty during the restore. > > > > The permissions for bash were okay for me. Turned out that the > > permissions on /usr/libexec were also owned by root. When I chown'ed it > > back to bin:bin, all was well. Bash seems to need ld.so (like many things > > do) and only logging in as root on the console would work till it was > > fixed. > > The permissions are correct, but when I try to use "man" AS ROOT I get: > > Couldn't open /usr/libexec/ld.so. exact same thing. Just to make sure, do a `chown bin:bin /usr/libexec` and a `chmod 755 /usr/libexec`. Then try man again. If that works, try adduser to create a test account and try to login in with the new account. If the new account works, then it probably means other users permissions are incorrect. Talk to you soon, Ben BTW; When you login as a regular user, does it say "Could not find home directory, using '/'" or something like that? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message