From 60deb326bedee2d1d5cd6ecb8f7c651b3ecdf3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Bron=C3=A8s?= <romain.broucquart@synchrotron-soleil.fr> Date: Thu, 1 Feb 2024 15:43:48 +0100 Subject: [PATCH] fix: Remove credentials on source file * Probably best practice --- recipes-core/images/zup-image-soleil-fofb.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-core/images/zup-image-soleil-fofb.bb b/recipes-core/images/zup-image-soleil-fofb.bb index 4a0434a..01a6a60 100644 --- a/recipes-core/images/zup-image-soleil-fofb.bb +++ b/recipes-core/images/zup-image-soleil-fofb.bb @@ -48,6 +48,6 @@ DISTRO_FEATURES_remove = " wifi bluetooth 3g nfc" # User inherit extrausers EXTRA_USERS_PARAMS = "\ - usermod -s /bin/zsh -P 'fofb' root; \ - useradd -s /bin/zsh -G sudo -P 'diag91' diag; \ + usermod -s /bin/zsh -p '\$6\$AzsdzifDHR4dpNHF\$MtXMd75T2CNGqilFDVeYxSQknBsr4ykeAxwOgTC9yeKfeJjKG5kf5l9TKam1yMht50XL0bzE1AhRQtbaMHUmB1' root; \ + useradd -s /bin/zsh -G sudo -p '\$6\$hmp0ah1eA0dKl795\$5/m5u0Xuvz8.Elik9YH3oQpM2fyn6em0mmHKyJgt7CVUayCEFc38BIMKQstDrHuE0IbuDHDzApxsD7jwXHwKI0' diag; \ " -- GitLab