Re: su: not running setuid

2007-10-23 Thread Mayank Jain
, 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

Re: su: not running setuid

2007-10-23 Thread Mayank Jain
, Christopher Cowart wrote: On Mon, Oct 22, 2007 at 06:51:48PM +, 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

Re: su: not running setuid

2007-10-23 Thread Adam J Richardson
Christopher Cowart wrote: Unless you can find some local privilege escalation exploit, I'm thinking you're stuck. You can probably fix it in single-user mode: * Reboot * Pick single user mode from the boot menu * Accept the default shell $ fsck -p $ mount -u / $ mount -a -t ufs $ chown root

Re: su: not running setuid

2007-10-23 Thread Christopher Cowart
On Tue, Oct 23, 2007 at 09:09:04PM +0100, Adam J Richardson wrote: Christopher Cowart wrote: Unless you can find some local privilege escalation exploit, I'm thinking you're stuck. You can probably fix it in single-user mode: * Reboot * Pick single user mode from the boot menu * Accept the

su: not running setuid

2007-10-22 Thread Mayank Jain
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

Re: su: not running setuid

2007-10-22 Thread Chuck Swiger
On Oct 22, 2007, at 11:51 AM, Mayank Jain wrote: 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 Ouch-- you've managed to reset the setuid/setgid bits for the entire system. You'll probably need to do a

Re: su: not running setuid

2007-10-22 Thread James
On Mon, 2007-10-22 at 18:51 +, 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

Re: su: not running setuid

2007-10-22 Thread Eric Crist
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 [EMAIL PROTECTED]:/usr/obj/usr/src/sys

Re: su: not running setuid

2007-10-22 Thread Christopher Cowart
On Mon, Oct 22, 2007 at 06:51:48PM +, 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