Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2001 13:22:18 -0500
From:      Christopher Schulte <christopher@schulte.org>
To:        Craig Cowen <craig@allmaui.com>, freebsd-security@FreeBSD.ORG
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: su change?
Message-ID:  <5.0.2.1.0.20010403131900.00af5eb0@pop.schulte.org>
In-Reply-To: <3ACA12BD.A8706D97@allmaui.com>
References:  <005401c0bc63$7cb36650$0202a8c0@majorzoot> <001f01c0bc68$681a2b20$1200a8c0@gsicomp.on.ca> <20010403140935.F9618@pir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:13 AM 4/3/2001 -0700, Craig Cowen wrote:
>I worked at an isp and the office staff was responsible for terminating
>accounts. Well, one particular staff member kept screwing up in vi and wiping
>out the root user's entry.
>That's when I made them use chsh <user>
>
>I believe that it will give error messages like visudo to common mistakes.

Good grief.  One should always use utilities like vipw or chsh when editing 
the password databases.  They do sanity checking, locking, and other 
magically important tasks which a simple `vi` won't.

Not to mention that on FreeBSD, vipw and chsh will also run pwd_mkdb 
automatically.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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