[Adduser-devel] Bug#558260: --quiet doesn't make adduser quiet

Chris Lamb lamby at debian.org
Fri Mar 31 21:49:28 UTC 2017


Hi,

> --quiet doesn't make adduser  quiet

This is because whilst adduser respects --quiet for its own message, it
does not silence the call out to gpasswd:

   353     printf gtx("Adding user `%s' to group `%s' ...\n"),$existing_user,$existing_group
   354         if $verbose;
   355     &invalidate_nscd();
   356     my $gpasswd = &which('gpasswd');
   357     &systemcall($gpasswd, '-a',$existing_user,$existing_group);


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Adduser-devel mailing list