From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 04:03:34 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 BCA6816A41B for ; Tue, 23 Oct 2007 04:03:34 +0000 (UTC) (envelope-from mayank@in.niksun.com) Received: from in.niksun.com (210.18.76.166.sify.net [210.18.76.166]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF1B13C49D for ; Tue, 23 Oct 2007 04:03:34 +0000 (UTC) (envelope-from mayank@in.niksun.com) Received: from in.niksun.com (unknown [10.60.50.66]) by in.niksun.com (Postfix) with ESMTP id D8AE15CEF; Tue, 23 Oct 2007 09:42:15 +0530 (IST) From: Mayank Jain Organization: Niksun To: freebsd-questions@freebsd.org Date: Tue, 23 Oct 2007 09:32:57 +0000 User-Agent: KMail/1.9.1 References: <200710221851.48278.mayank@in.niksun.com> <8818DBBA-040A-40BD-9444-CDF448ED43AC@gmail.com> In-Reply-To: <8818DBBA-040A-40BD-9444-CDF448ED43AC@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710230932.57530.mayank@in.niksun.com> Cc: Eric Crist Subject: Re: su: not running setuid 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: Tue, 23 Oct 2007 04:03:34 -0000 Hi, No I am not able to login as root from other consoles also. I am able to ssh on this machine from other machines and is able to successfully login to this machine but from my console I am now even not able to login to this machine. It is not accepting my uname and passwd. Looks like I ma stuck at a big trouble. -- Regards Mayank Jain(Nawal) Niksun 9818390836 www.mayankjain.110mb.com On Monday 22 October 2007 19:28, Eric Crist wrote: > If you executed the command you claim you did, you're system > permissions are really screwed up. You've changed ownership of > *EVERY* file on the system to uname:wheel. My best guess is that su > is trying to run as uname (setuid) and it's not getting the > permissions is needs. > > 4th and long I'm guessing. You're best of to punt and reinstall. > Can you even log in as root from the console? > > Eric > > On Oct 22, 2007, at 1:51 PMOct 22, 2007, Mayank Jain wrote: > > Hi all, > > > > I have run chown -R uname:wheel . as root in the / directory. Now > > it is not > > allowing me to log in as su. > > Giving the following error > > > > su > > su: not running setuid > > > > I have also tried su -l but still same error. Can any body suggest > > me some > > solution to this problem. > > > > uname -a > > FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: > > Mon Dec 4 > > 09:56:16 UTC 2006 > > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386 > > > > I have also tried following but it didn't allow me to do so. > > chown root:wheel /usr/bin/su > > chown: /usr/bin/su: Operation not permitted > > > > -- > > Regards > > Mayank Jain(Nawal) > > Niksun > > 9818390836 > > www.mayankjain.110mb.com > > _______________________________________________ > > 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" > > ----- > Eric F Crist > Secure Computing Networks > > > _______________________________________________ > 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"