>>> Somehow the gid's can get mapped to names but the uid's can't. Can
>>> anyone
>>> point out what I need to adjust or is required to get uid's working
>>> with
>>> names as well?
>>
>> In FreeBSD, group names are resolved through /etc/group. Usernames
>> however resolve through a user database that is derived from
>> /etc/master.passwd. The actual database files are /etc/pwd.db and
>> /etc/spwd.db. Try to experiment which of these 3 files are actually
>> required by the quota and ls commands to resolve the usernames.
>
> Thanks you Ruben. That explains why. The only file required is /etc/pw.db.
>
>> Remember however that putting sensitive information like this inside
>> the chroot is a security risk. master.passwd and spwd.db contain the
>> (encrypted, but crackable) passwords of all users.
>
> Is there a way of creating such a file independently and containing only
> the chroot user's data?

Nevermind, I found out: pwd_mkdb


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to