how to change the root user's name on FreeBSD 6.1 running postfix

Jonathan Horne freebsd at dfwlp.com
Sun Aug 20 03:32:38 UTC 2006


On Saturday 19 August 2006 22:15, Paul Hamilton wrote:
> 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?
>
>
>
> Regards,
>
> Paul Hamilton
> Busselton, 6280
> Australia
>

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.

cheers,
jonathan


More information about the freebsd-questions mailing list