On 8/19/06, Jonathan Horne <[EMAIL PROTECTED]> 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--
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"