[Bug 238995] adduser does not check for pre-existing user field entries in /etc/group

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Nov 2021 05:06:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238995

--- Comment #2 from Dennis Clarke <dclarke@blastwave.org> ---
Minor followup here is that the ownership of the user home directory
was in fact correct ! 

europa# cd /usr/home/aarch64/
europa# ls -lapbin 
total 10
65852 drwxr-xr-x  2 31415  31415     9 Nov 23 04:56 ./
   34 drwxr-xr-x  6 0      0         6 Nov 23 04:56 ../
65857 -rw-r--r--  1 31415  31415   962 Nov 23 04:56 .cshrc
65855 -rw-r--r--  1 31415  31415   323 Nov 23 04:56 .login
65858 -rw-r--r--  1 31415  31415    91 Nov 23 04:56 .login_conf
65853 -rw-------  1 31415  31415   301 Nov 23 04:56 .mail_aliases
65856 -rw-r--r--  1 31415  31415   267 Nov 23 04:56 .mailrc
65854 -rw-r--r--  1 31415  31415   978 Nov 23 04:56 .profile
65859 -rw-r--r--  1 31415  31415  1015 Nov 23 04:56 .shrc
europa# 

That is correct given the group entry : 

aarch64:*:31415:aarch64


Regardless we did get adduser doing the dumb task of creating another
group entry with the same name and a different gid.

Dennis

-- 
You are receiving this mail because:
You are the assignee for the bug.