su: not running setuid

Mayank Jain mayank at
Mon Oct 22 06:53:05 PDT 2007

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: 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 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec  4 
09:56:16 UTC 2006     
root at  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

Mayank Jain(Nawal)

More information about the freebsd-questions mailing list