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

Re: Usage of dpkg under cygwin



On Wed, 2002-10-09 at 16:15, James Michael DuPont wrote:
> 
> --- Paul Baker <pbaker@where2getit.com> wrote:
> > 
> > On Tuesday, October 8, 2002, at 04:34 PM, Mark Paulus wrote:
> > 
> > > I briefly looked at fakeroot, and determined that it was
> > > too much trouble at the time to work with fakeroot, and it was
> > > quicker to manipulate my /etc/passwd to make my
> > > administrator account be root, and then to telnet back in
> > > to my box as root.
> > 
> > why not just use sudo?
> > 
> 
> Does sudo not use a daemon as well as fakeroot?  I will post my
> question to the cygwin  list. But maybe the easier is do to the passwd
> trick as well.

The *real* solution is to fix dpkg. Checking for being root is a broken
test. Checking if the current user has the appropriate access is a more
flexible and portable test.

Rob
(cygwin dpkg package maintainer).




Reply to: