1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
sample code
sudo -u ec2-user whoami
I referred to the following sites
https://stackoverflow.com/questions/57443700/running-command-in-userdata-as-a-not-root-user https://zenn.dev/nnnto/articles/df29c8d03e1c45
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans