Your message dated Tue, 17 May 2005 20:27:02 +0200 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #302630, regarding `useradd -d` behaviour could be clarified in manpage to be marked as having been forwarded to the upstream software author(s) Tomasz Kłoczko <[EMAIL PROTECTED]>.
(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 154996-forwarded) by bugs.debian.org; 17 May 2005 18:27:52 +0000 >From [EMAIL PROTECTED] Tue May 17 11:27:52 2005 Return-path: <[EMAIL PROTECTED]> Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DY6nH-0001pW-00; Tue, 17 May 2005 11:27:52 -0700 Received: from localhost (localhost [127.0.0.1]) by kheops.perrier.eu.org (Postfix) with ESMTP id 948DA4F971; Tue, 17 May 2005 20:27:20 +0200 (CEST) Received: from kheops.perrier.eu.org ([127.0.0.1]) by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06632-03; Tue, 17 May 2005 20:27:19 +0200 (CEST) Received: from mykerinos.kheops.frmug.org (unknown [192.168.1.3]) by kheops.perrier.eu.org (Postfix) with ESMTP id AB31C4F959; Tue, 17 May 2005 20:27:19 +0200 (CEST) Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426) id 3F7592323D; Tue, 17 May 2005 20:27:02 +0200 (CEST) Date: Tue, 17 May 2005 20:27:02 +0200 From: Christian Perrier <[EMAIL PROTECTED]> To: Tomasz =?utf-8?Q?K=C5=82oczko?= <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Patch for this man page update request for useradd Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org Delivered-To: [EMAIL PROTECTED] 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=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 2 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tags 154996 upstream patch thanks In #154996, the bug submitter mentions that the directory mentioned with the "-d" option is not created if missing. Indeed, this bug report suggests documenting this in the man page, which I think is what to do (again, given the low-level nature of useradd, I don't think it's worth adding it some directory creation code) The attached patch does the needed changes to useradd.8 so that this behaviour is properly documented. Tomasz, I think it's also worth applying it in your CVS. -- --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="useradd.8.diff" --- useradd.8.ori 2005-05-17 18:52:53.034059944 +0200 +++ useradd.8 2005-05-17 20:05:36.479547477 +0200 @@ -55,8 +55,10 @@ The new user's password file comment field. .IP "\fB\-d\fR \fIhome_dir\fR" The new user will be created using \fIhome_dir\fR as the value for the -user's login directory. The default is to append the \fIlogin\fR name to -\fIhome\fR and use that as the login directory name. +user's login directory. The default is to append the \fIlogin\fR name +to \fIhome\fR and use that as the login directory name. The directory +\fIhome_dir\fR does not have to exist but will \fBnot\fR be created if it is +missing. .IP "\fB\-e\fR \fIexpire_date\fR" The date on which the user account will be disabled. The date is specified in the format \fIYYYY\-MM\-DD\fR. --z6Eq5LdranGa6ru8-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]