Subject: Re: Cant su
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: amaya <amaya@idiom.com>
List: netbsd-help
Date: 04/20/2001 08:46:02
On Fri, 20 Apr 2001, Manuel Bouyer wrote:

> On Thu, Apr 19, 2001 at 08:50:25PM -0700, amaya wrote:
> > 	I just installed a NetBSD and a bunch of packages onto my
> > Decstation. Every thing went well until I got lazy and tried to clone the
> > installed system onto a newer, quieter drive rather than doing a fresh
> > install.
> > 	I copied the / and /usr file systems from the old drive to the new
> > one using pax. The newly cloned system had a few quirks until I remade the
> > device files, but after that every thing seemed fine on the cloned system
> > except that su always fails (just says sorry).  It works fine on the old
> > disk. What have I done wrong? (other than being lazy)
>
> I guess you didn't preserve permissions (especially suid bits) while
> copying.
> What command did you use ?

pax -rw -X
I guess I should have used -pe, will try again...

Thanks!

>
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
> --
>
>