Fixed errors in FreeBSD user manipulations.
Merge pull request #2862 from lonerr/freebsd-user

Fixed errors in FreeBSD user manipulations.