[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] was - SU from user other ... - now SU won't work



On Sat, 2 Feb 2002, Greg Hewitt-Long wrote:

> ok, I implemented the two lines suggested by Tomas and later by flash22, ie:
> 
>     auth sufficient /lib/security/pam_rootok.so debug
>     auth required /lib/security/pam_wheel.so group=wheel
> Thanks - thanks a lot!  Now SU don't work PERIOD!
> 
> So I've now got a RAQ3 without the ability to SU to root.

Tsk tsk, *I* didn't tell you to go messing with pam ;P

Do you have a wheel group? Is anyone in it ?

OK< the cobalt ssh package has root login enabled by default....install
that and you shoyuld be able to get in as root, unless you already broke
that, in which case, perhaps uninstall and reinstall it...

I'm assuming you didn't also break the admin web server ;P
DON'T reboot it ;P
> 
> So I thought, no problem, I'll make a setuid bash on the raq4, tar it 
across and execute it, reset my pam.d and I'm 
fine - only it don't work - 
the setuid bit falls off and now I'm totally cranky...

It failed because /home is mounted nosuid, it would work if you could drop
it somewhere else, possibly, why am i telling you how to root your raq ;P

gsh