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



Hi,

On Wed, 2 Jul 2008, Christos Zoulas wrote:
> >> > 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?

Yes, /etc/pam.d/ is populated.

Thanks,
Al





Home | Main Index | Thread Index | Old Index