From owner-freebsd-questions@FreeBSD.ORG Sun Aug 20 12:48:06 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 D11BD16A4DD for ; Sun, 20 Aug 2006 12:48:06 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F87843D72 for ; Sun, 20 Aug 2006 12:48:06 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6) with ESMTP id k7KCm1ga025805; Sun, 20 Aug 2006 08:48:01 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.13.6+Sun/8.13.6/Submit) id k7KCm0vk025804; Sun, 20 Aug 2006 08:48:00 -0400 (EDT) From: Jerry McAllister Message-Id: <200608201248.k7KCm0vk025804@clunix.cl.msu.edu> To: paulh@bdug.org.au (Paul Hamilton) Date: Sun, 20 Aug 2006 08:48:00 -0400 (EDT) In-Reply-To: <0a9001c6c406$e113b1d0$6600a8c0@w2k2> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 12:48:06 -0000 > > Hi, > > I am running postfix on FreeBSD 4.11 and 6.1 servers. > > 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 :-) > > Any idea's? Use 'vipw' and edit that field in the root entry. Don't change the id name or the UID fields, just the part of the entry that says 'root unix' or whatever to what you want for each machine. The vipw utility works just like 'vi' only it takes care of correct file locking and updating master.passwd and the passwd database for you when you exit with a :wq ////jerry > > Regards, > > Paul Hamilton > Busselton, 6280 > Australia > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >