[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gid differences between aws-ec2 and gcp instances



On 24 May 2023 11:07:40 BST, "Juan Luis Rosa Martínez" <chiv0rz@gmail.com> wrote:
>Hi all,
>
>I'm preparing some custom images for both AWS EC2 and GCP, using your
>Debian-11 images. I'm curious, I found a problem with the gid assigned to
>`ssh` is not 110, and found the following:
>
>* AWS
>
>root@ip-172-16-17-147:~# cat /etc/group | grep
>sshssh:x:111:root@ip-172-16-17-147:~# cat /etc/group | grep
>110tcpdump:x:110:
>
>*GCP
>
>root@instance-1:~# cat /etc/group | grep
>sshssh:x:112:root@instance-1:~# cat /etc/group | grep 110render:x:110:
>
>I'm curious, I expected in both platform have "the same base" image.
>Why is the reason of the differences?

Last time I was looking at it GIDs were generated on the fly at system install, as AWS and GCP images come from different build pipelines they have different GIDs for non statically assigned groups and UIDs for users.


Reply to: