During boot (stuff run from rc.local) the enviornment has HOME=/
After boot root logins have HOME=/root.

Seems like a bug to me... left over from the days when HOME for root was
/.  In my case I was trying to run some mysql commands which did not work
because there was no /.my.cnf.  After boot testing them did work because
it looked at /root/.my.cnf

Should the line in /etc/rc:
HOME=/
change to:
HOME=/root

FreeBSD xxx.com 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Nov 10 04:05:00
EST 2003     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RUMBA  i386
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to