[Adduser-devel] Bug#303372: marked as done (adduser ignores "world readable directories" setting)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 06 Apr 2005 05:03:32 -0700


Your message dated Wed, 6 Apr 2005 13:58:35 +0200
with message-id <20050406115835.GQ21496@torres.l21.ma.zugschlus.de>
and subject line Bug#303372: adduser ignores "world readable directories" setting
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Apr 2005 11:37:02 +0000
>From manchmal@gmail.com Wed Apr 06 04:37:02 2005
Return-path: <manchmal@gmail.com>
Received: from rproxy.gmail.com [64.233.170.192] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJ8qE-0005rl-00; Wed, 06 Apr 2005 04:37:02 -0700
Received: by rproxy.gmail.com with SMTP id b11so138406rne
        for <submit@bugs.debian.org>; Wed, 06 Apr 2005 04:37:01 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding;
        b=c+Uw8fXcteptoVSkp8lA0MsMVlah+ldKo9QMOT2xlVSl7walrcLffmYzMek95eGqMBQfU6OS+uSK13qPwhQxfExAbkn2gNtvPsDD1xTEQYch8jOcTBqbmiOw4f3w+1nRzR9CsgpXjtiyu9kxQ7vcs76Hb8jDBnCKrRN5SKhGbpI=
Received: by 10.38.160.52 with SMTP id i52mr670400rne;
        Wed, 06 Apr 2005 04:37:01 -0700 (PDT)
Received: by 10.38.76.66 with HTTP; Wed, 6 Apr 2005 04:37:01 -0700 (PDT)
Message-ID: <b2e7406a05040604375b9fc648@mail.gmail.com>
Date: Wed, 6 Apr 2005 13:37:01 +0200
From: manchmal <manchmal@gmail.com>
Reply-To: manchmal <manchmal@gmail.com>
To: submit@bugs.debian.org
Subject: adduser ignores "world readable directories" setting
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: adduser
Version: 3.63

# dpkg-reconfigure adduser
...you might want your home directories only readable by the user...
Do you want system wide readable home directories? NO
(logout)

# useradd -m testuser
ls -la /home/
drwxr-xr-x   2 testuser   users 4096 Apr  6 13:31 testuser

What happened? Home directory is world readable
What should have happened? Home directory only readable by user, i.e.
drwx------   2 testuser   users 4096 Apr  6 13:31 testuser

---------------------------------------
Received: (at 303372-done) by bugs.debian.org; 6 Apr 2005 11:58:39 +0000
>From mh+debian-packages@zugschlus.de Wed Apr 06 04:58:39 2005
Return-path: <mh+debian-packages@zugschlus.de>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJ9B9-0000Gi-00; Wed, 06 Apr 2005 04:58:39 -0700
Received: from mh by torres.int.l21.ma.zugschlus.de with local (Exim 4.50)
	id 1DJ9B5-0008SR-Hj; Wed, 06 Apr 2005 13:58:35 +0200
Date: Wed, 6 Apr 2005 13:58:35 +0200
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: manchmal <manchmal@gmail.com>, 303372-done@bugs.debian.org
Subject: Re: Bug#303372: adduser ignores "world readable directories" setting
Message-ID: <20050406115835.GQ21496@torres.l21.ma.zugschlus.de>
References: <b2e7406a05040604375b9fc648@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <b2e7406a05040604375b9fc648@mail.gmail.com>
User-Agent: Mutt/1.3.28i
Delivered-To: 303372-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Wed, Apr 06, 2005 at 01:37:01PM +0200, manchmal wrote:
> # dpkg-reconfigure adduser
> ...you might want your home directories only readable by the user...
> Do you want system wide readable home directories? NO
> (logout)
> 
> # useradd -m testuser
> ls -la /home/
> drwxr-xr-x   2 testuser   users 4096 Apr  6 13:31 testuser

How about using the tool that you have configured?

Hint: adduser != useradd

[4/503]mh@scyw00225:~$ dpkg --search /usr/sbin/adduser
adduser: /usr/sbin/adduser
[5/504]mh@scyw00225:~$ dpkg --search /usr/sbin/useradd
passwd: /usr/sbin/useradd
[6/505]mh@scyw00225:~$

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835