Re: Usage of dpkg under cygwin
Robert Collins <[email protected]> 09 Oct 2002 16:43:08 +1000
| Newsgroups | gmane.linux.debian.ports.windows |
|---|---|
| Message-ID | <1034145788.32269.13.camel@lifelesswks> |
On Wed, 2002-10-09 at 16:15, James Michael DuPont wrote: > > --- Paul Baker <[email protected]> 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).