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

Re: Usage of dpkg under cygwin




On Wednesday, October 9, 2002, at 01:15 AM, 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.

sudo is like su, only it asks you for your password instead of root's, and it is used to run one command as root, instead of just opening a shell as root. fakeroot was designed to be a drop in replacement for sudo for things that required root, but didn't really require root, like building debian packages.

if fakeroot isn't ported yet, then instead of `dpkg-buildpackage -rfakeroot` use `dpkg-buildpackage -rsudo`


--
Paul Baker

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
         -- Benjamin Franklin, 1759

GPG Key: http://homepage.mac.com/pauljbaker/public.asc




Reply to: