On 1/19/21 10:59 AM, Kevin Chadwick wrote:
> Sorry, I think that I must have ran groupadd first which brought users and
> groups IDs, out of sync.

Ok, after failing to reproduce it this morning;

With admin safely jumping to 1020,

I worked it out.

groupadd elansys
useradd admin
userdel admin
groupdel elansys
useradd admin
groupadd elansys

/etc/passwd
admin:*:1018:1018::/home/admin:/bin/ksh

/etc/group
admin:*:1019:
elansyssftp:*:1018:

Shoudl userdel remove the group too?

Reply via email to