1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

aws ec2-userのUIDが501になる場合がある

Posted at

ssm-userが作成される順序に変更があり、ec-userのUIDが500から501になる現象を確認しました。
手元で発生したのは下記のプラットフォーム更新ですが、実際には2.11.5->2.11.6で変わっていたと思われます。

Multi-container Docker running on 64bit Amazon Linux/2.11.8

ssm-user:x:500:500::/home/ssm-user:/bin/bash
ec2-user:x:501:501:EC2 Default User:/home/ec2-user:/bin/bash

Multi-container Docker running on 64bit Amazon Linux/2.11.5

ec2-user:x:500:500:EC2 Default User:/home/ec2-user:/bin/bash
ssm-user:x:501:501::/home/ssm-user:/bin/bash

UIDハードコードして何かしている人は要注意です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?