NetBSD-Users archive

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

Re: can't su, but I can log in as root



In article 
<Pine.NEB.4.33.0807021412410.17691-100000%agnus.datazap.net@localhost>,
Al - image hosting services  <azick%zickswebventures.com@localhost> wrote:
>Hi,
>
>On Wed, 2 Jul 2008, Geert Hendrickx wrote:
>
>> On Tue, Jul 01, 2008 at 10:41:39PM -0700, Al - image hosting services wrote:
>> > Hi,
>> >
>> > I just did an install of 4.0 on a PIII. It will not boot from my live CD
>> > or any of the newer CDs. It did boot from the 2.0.2, since it was booted
>> > I setup the drives. I then netbooted and did: pax -v -X -rw -pe / /mnt
>> >
>> > It seemed to work fine, except I can't su to root. Yet, I can log in as
>> > root from its own terminal. It looks like I will need to do a fresh
>> > install (probably manually), unless someone has a better idea.
>>
>>
>> I don't know the flags for pax but could it be that you didn't preserve
>> permissions when installing NetBSD?  ie., /usr/bin/su is not setuid-root?
>
>It has the same permissions as my other boxes:
>
>-r-sr-xr-x  1 root  wheel  15519 Feb 21 14:17 /usr/bin/su
>

Is /etc/pam.d/ populated?

christos



Home | Main Index | Thread Index | Old Index