From owner-freebsd-questions Sat Sep 19 20:20:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA15845 for freebsd-questions-outgoing; Sat, 19 Sep 1998 20:20:10 -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 UAA15840 for ; Sat, 19 Sep 1998 20:20:07 -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 UAA13170; Sat, 19 Sep 1998 20:21:08 -0700 (PDT) (envelope-from maillist@msn.bc.ca) Date: Sat, 19 Sep 1998 20:21:08 -0700 (PDT) From: Ben Pepa To: Michael Henry cc: freebsd-questions@FreeBSD.ORG Subject: Re: MAJOR PROBS! In-Reply-To: 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 Sat, 19 Sep 1998, Michael Henry wrote: > Earlier this evening I attempted to upgrade my system using cvsup. > I got a message about not being able to find an IP address. > > That is not the problem. But I think it caused this one... > > Now I can't log in! You should be able to login as root on the console. Otherwise, login with the -s at the boot prompt to be dropped into single user mode. > When I try to I get: > > Sep 19 21:52:06 playground login: _secure_path: cannot stat > /home/mhenry/.login_conf: Permission denied > Sep 19 21:52:06 playground login: _secure_path: cannot stat > /home/mhenry/.login_conf: Permission denied > > login: /usr/local/bin/bash: No such file or directory > > I can't su to my account either: > > su: /usr/local/bin/bash: Permission denied > > 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? 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 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. Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message