Skip site navigation (1)Skip section navigation (2)
From:      Walter Hafner <hafner@informatik.tu-muenchen.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Removing a user without using the rmuser command
Message-ID:  <srjk8veqkef.fsf@hprbg5.informatik.tu-muenchen.de>
In-Reply-To: Doug White's message of "Wed, 14 Apr 1999 13:30:00 -0700 (PDT)"
References:  <Pine.BSF.4.03.9904141329180.15989-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White <dwhite@resnet.uoregon.edu> 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
         <A href=http://www.tum.de/~hafner/>*CLICK*</A>;
  "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?srjk8veqkef.fsf>