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

Re: Pre-Depends for postgresql

Colin Watson <cjwatson@debian.org> a tapoté :

> On Thu, Oct 16, 2003 at 03:51:33PM +0200, Mathieu Roy wrote:
> > Martin Pitt <martin@piware.de> a tapoté :
> > > adduser is neither essential nor required, thus does not need to be
> > > installed when installing postgres.  I'm not quite sure what you mean,
> > > could you please explain this?
> > > 
> > > Thanks in advance!
> > 
> > Hum, instead of adduser, useradd should be used by the posgresql
> > package. 
> > useradd is included in the package passwd, which is "required" package
> > from the "base" section.
> No, packages that need to add users or groups should use adduser so that
> the appropriate uid and gid ranges are used as configured by the
> sysadmin.

Even for system users automatically created by postinst scripts, on a
system where adduser has not even been already installed before?

(The postinst script may detect whether adduser is installed or not and
use useradd if adduser is missing.)

Mathieu Roy
  Not a native english speaker: 

Reply to: