From owner-freebsd-questions@FreeBSD.ORG Thu Aug 30 10:22:26 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4014E16A419 for ; Thu, 30 Aug 2007 10:22:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7268E13C465 for ; Thu, 30 Aug 2007 10:22:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id l7UAMLAl002693; Thu, 30 Aug 2007 12:22:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id l7UAMLpb002690; Thu, 30 Aug 2007 12:22:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 30 Aug 2007 12:22:21 +0200 (CEST) From: Wojciech Puchar To: Roberto Nunnari In-Reply-To: <46D6925B.3090909@supsi.ch> Message-ID: <20070830122215.J2682@wojtek.tensor.gdynia.pl> References: <46D684E0.5030808@supsi.ch> <6d62f69a0708300239y75485c80odf03b4e31cf675fe@mail.gmail.com> <46D6925B.3090909@supsi.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Bahman M." , "freebsd-questions@freebsd.org" Subject: Re: users cannot login anymore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 10:22:26 -0000 check / and /lib and /libexec On Thu, 30 Aug 2007, Roberto Nunnari wrote: > Hi Bahman. > > see below my answer. > > > Bahman M. wrote: >>> # su - robi >>> su: /bin/csh: Permission denied >>> >>> also, >>> >>> # /usr/local/etc/rc.d/tomcat6 start >>> Starting tomcat60. >>> su: /usr/local/bin/bash: Permission denied >>> >>> # uname -rms >>> FreeBSD 6.1-RELEASE-p19 i386 >> What's the output of >> # ls -l /usr/local/bin/bash >> # ls -l /bin/csh >> ? > > # ls -l /usr/local/bin/bash /bin/csh /bin/sh > -r-xr-xr-x 2 root wheel 298556 Aug 6 18:37 /bin/csh > -r-xr-xr-x 1 root wheel 107380 Aug 6 18:37 /bin/sh > -rwxr-xr-x 1 root wheel 611268 Jul 2 12:15 /usr/local/bin/bash > > # cat /etc/shells > /bin/sh > /bin/csh > /bin/tcsh > /usr/local/bin/bash > /usr/local/bin/rbash > >> >> Bahman > > > -- > Robi > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >