Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 18:51:48 +0000
From:      Mayank Jain <mayank@in.niksun.com>
To:        freebsd-questions@freebsd.org
Subject:   su: not running setuid
Message-ID:  <200710221851.48278.mayank@in.niksun.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710221851.48278.mayank>