NetBSD-Users archive

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

Re: update 6.0.1_PATCH -> 6.0.2 added suid to /usr/bin/passwd



On Tue, Jun 04, 2013 at 11:24:49AM -0500, Jeremy C. Reed wrote:
> On Tue, 4 Jun 2013, Petar Bogdanovic wrote:
> 
> >     # ls -la /path/to/6.0.1/usr/bin/passwd
> >     -r-xr-xr-x  3 root  wheel  31003 Mar  6 13:35 
> > /path/to/6.0.1/usr/bin/passwd
> >     # ls -la /path/to/6.0.2/usr/bin/passwd
> >     -r-sr-xr-x  2 root  wheel  31003 Jun  3 14:21 
> > /path/to/6.0.2/usr/bin/passwd
> > 
> > I always use tar with p when extracting the sets so that part should be
> > ok..  but other than that?
> 
> I think at the last time your /usr/bin/passwd was not installed 
> preserving that permission.

Which could only mean using tar without p in the previous case.  But
that's hardly possible given that I'm always using the same chain of
commands when upgrading (fetched from ~/.history).

Also, without p, many more files would be affected.


Home | Main Index | Thread Index | Old Index