From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DMARC_REJECT, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from home.skarby.no (other.worlds.no [217.8.136.224]) by chiba.3jane.net (Postfix) with SMTP id 4BA8CABD51 for ; Wed, 17 Jul 2002 05:26:16 -0500 (CDT) Received: (qmail 10090 invoked from network); 17 Jul 2002 10:45:41 -0000 Received: from unknown (HELO skarby.no) (127.0.0.1) by localhost with SMTP; 17 Jul 2002 10:45:41 -0000 Received: from 10.0.7.104 (SquirrelMail authenticated user scaru) by home.skarby.no with HTTP; Wed, 17 Jul 2002 12:45:41 +0200 (CEST) Message-ID: <1932.10.0.7.104.1026902741.squirrel@home.skarby.no> Date: Wed, 17 Jul 2002 12:45:41 +0200 (CEST) Subject: [gentoo-dev] New adduser and deluser features suggestions From: "Christian Skarby" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 96df5458-94fe-4dba-bff8-be194a4377df X-Archives-Hash: 1d72cfb28eb0c4366cda1afc7ad0489f First I'd like to say that I like the features that you suggest, on the other hand .. There are a few defaults one actially can set with the default useradd-program. These are covered in the manpage "man adduser" / "man useradd". Furthermore I think I see where you'd like to move, then still I do not see that it is too hard to implement making some modifications to the superadduser-script. Regarding the deluser-features I think the right thing is to use find,xargs,rm and cp, knowing the uid it should work fine to use something simillar to find / -uid $uid -type f -print0 | xargs -0 --no-run-if-empty -p rm -f in order to remove all files on mounted file-systems owned by $uid. Anyway, that is my opinion to the matter. -- Christian Skarby christian@skarby.no