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

Re: PATH setting used by dpkg to run postinstall scripts?

Martijn van Oosterhout <kleptog@svana.org> writes:

> On Thu, Oct 17, 2002 at 10:53:49AM +1000, Brian May wrote:
> > It is possible that the system adminstrator may prefer using
> > a 3rd party version of adduser, for instance (maybe a script that
> > enhances on /usr/sbin/adduser for interactive use), but doesn't
> > want it to break packages that really intend to use
> > /usr/sbin/adduser.
> > 
> > Of course, the same thing could work both ways (the system adminstrator
> > may want the new improved version of adduser to be used instead, maybe
> > it has support for LDAP for instance).
> > 
> > So I am not about to provide any solutions here...
> Seems to me that aforementioned should reset his own PATH before executing
> dpkg. Maybe using a wrapper script?

Let's call it, eh, /usr/local/bin/dpkg :-)

Olaf Meeuwissen                            EPSON KOWA Corporation, ECS
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
LPIC-2               -- I hack, therefore I am --                 BOFH

Reply to: