Date: Mon, 22 Oct 2007 14:28:05 -0500 From: Eric Crist <mnslinky@gmail.com> To: Mayank Jain <mayank@in.niksun.com> Cc: freebsd-questions@freebsd.org Subject: Re: su: not running setuid Message-ID: <8818DBBA-040A-40BD-9444-CDF448ED43AC@gmail.com> In-Reply-To: <200710221851.48278.mayank@in.niksun.com> References: <200710221851.48278.mayank@in.niksun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8818DBBA-040A-40BD-9444-CDF448ED43AC>