From owner-freebsd-questions Thu Apr 15 2:56:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by hub.freebsd.org (Postfix) with ESMTP id C61D11585A for ; Thu, 15 Apr 1999 02:56:51 -0700 (PDT) (envelope-from hafner@informatik.tu-muenchen.de) Received: from hprbg5.informatik.tu-muenchen.de ([131.159.0.200] EHLO hprbg5.informatik.tu-muenchen.de ident: root [port 3872]) by tuminfo2.informatik.tu-muenchen.de with ESMTP id <110748-229>; Thu, 15 Apr 1999 11:54:25 +0000 Received: from hafner@localhost by hprbg5.informatik.tu-muenchen.de id <24225-660>; Thu, 15 Apr 1999 11:54:00 +0200 To: freebsd-questions@freebsd.org Subject: Re: Removing a user without using the rmuser command References: From: Walter Hafner Date: 15 Apr 1999 11:54:00 +0200 In-Reply-To: Doug White's message of "Wed, 14 Apr 1999 13:30:00 -0700 (PDT)" Message-ID: Lines: 17 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White writes: > NEVER NEVER EDIT PASSWD DIRECTLY! ALWAYS USE vipw! > > I wish we could abolish passwd and force everyone to use getpwent() like > they should. How about: setting the immutable flag on passwd per default and adding a chflags(2) call to vipw? -Walter -- Walter Hafner__________________________________ hafner@in.tum.de *CLICK* "Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." (Terry Pratchett, "Eric") To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message