On Fri, 2007-05-11 at 09:24 +0200, Norman wrote:
> Hanno Hecker schrieb:
> > On Thu, 10 May 2007 09:52:14 -0400
> > Guy Hulbert <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Why does the debian package depend on adduser?
> >>     
> > because it adds the 'qpsmtpd' user if it doesn't exist?

The forkserver wants an 'smtpd' user.  But that's probably what you
meant.

> >
> >     Hanno
> >   
> 
> why not just use useradd ? So you don't need to depend on the extra
> package ?

That _is_ the question.  However, I looked at qmail (debian src package)
and it also depends on adduser.  I looked briefly at the policy manual
but didn't find anything there.  I thought that the Debian maintainer
might know the answer.  I need to look at the package anyway.

> 
> BTW, not importent for me :-P

The problem is that using 'useradd -D' does not change adduser.conf and
if someone carelessly uses 'adduser' then home directories end up in
the wrong place.  I suppose I should file a bug report but it is not
_that_ important for me either.  I can always change adduser.conf
manually after running 'useradd -D' and I may be told that if I file the
bug report anyway.  

I ran into problems between 'adduser' and 'useradd' on Solaris aeons
ago.  Since then I always use 'useradd'.  The idea behind 'adduser' (on
linux) is that it is supposed to deal with nsswitch.conf confusion.  I
can't remember whether it had the same purpose on Solaris or whether it
was cruft left over for SunOS compatibility.  If I remember correctly,
'adduser' caused problems with both nis and nis+ so we did not use it.

> 
> bye
> Norman
> 

-- 
--gh


Reply via email to