From owner-freebsd-questions@FreeBSD.ORG Sun Aug 20 05:58:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 478BA16A4DA for ; Sun, 20 Aug 2006 05:58:24 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id C75D943D45 for ; Sun, 20 Aug 2006 05:58:23 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1845700pye for ; Sat, 19 Aug 2006 22:58:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i4E46bOhai4w6qyZnl9tZA+S7dZotpBMECKlaP+P5FAi8y7av7HPGXPuqSCcTpDqMHipEOo2mE+IC8W4s+GKhL8b9xyeDy1Hb1XaVOoZUjEvesv6An1v+3FwXnRwxxadmDmoXeUFx509bOBiF04OP63PHyva7j8WeVv8QC+EEPk= Received: by 10.35.99.5 with SMTP id b5mr10086417pym; Sat, 19 Aug 2006 22:58:23 -0700 (PDT) Received: by 10.35.110.8 with HTTP; Sat, 19 Aug 2006 22:58:23 -0700 (PDT) Message-ID: Date: Sat, 19 Aug 2006 22:58:23 -0700 From: "Atom Powers" To: "Jonathan Horne" In-Reply-To: <200608192232.36564.freebsd@dfwlp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0a9001c6c406$e113b1d0$6600a8c0@w2k2> <200608192232.36564.freebsd@dfwlp.com> Cc: freebsd-questions@freebsd.org Subject: Re: how to change the root user's name on FreeBSD 6.1 running postfix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2006 05:58:24 -0000 On 8/19/06, Jonathan Horne wrote: > > > > In FreeBSD 4.11, you can run 'chsh root' and edit the name to what you > > want. However, on my FreeBSD 6.1 servers, I still receive email addressed > > from 'root unix'. I would like to be able to differentiate the root mail > > according to server the mail came from :-) > > > > i do exactly that, by editing /etc/master.passwd and /etc/passwd. substitute > in the name you would like to appear, and then > run 'pwd_mkdb /etc/master.passwd. > It's better to use `vipw`, vipw does some basic syntax checks on your passwd file before it writes it, and updates the master.passwd automatically. (It also reads the value of your "EDITOR" value, so you don't have to know vi to use it.) -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--