Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 08:48:00 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        paulh@bdug.org.au (Paul Hamilton)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to change the root user's name on FreeBSD 6.1 running postfix
Message-ID:  <200608201248.k7KCm0vk025804@clunix.cl.msu.edu>
In-Reply-To: <0a9001c6c406$e113b1d0$6600a8c0@w2k2>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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"
> 




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