commit | 77845dc801afefbec6d1318b2b3db1e13545e19f | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Mon Oct 28 15:36:52 2024 +0900 |
committer | Jiyong Park <jiyong@google.com> | Mon Oct 28 15:36:52 2024 +0900 |
tree | 4bb7b303952afd3454701ee9f2ecaf55a40835a5 | |
parent | 099311a1f63cf59f61871e1b9efd4fc4cb0ef380 [diff] |
Bash is the default shell Bug: 375326807 Test: check the shell in the terminal Change-Id: I4933d9e2a866fedb544240fb4abf9edec5536f9c
diff --git a/build/debian/fai_config/scripts/AVF/20-useradd b/build/debian/fai_config/scripts/AVF/20-useradd index 9fbcd43..1c93772 100755 --- a/build/debian/fai_config/scripts/AVF/20-useradd +++ b/build/debian/fai_config/scripts/AVF/20-useradd
@@ -1,4 +1,4 @@ #!/bin/bash -$ROOTCMD useradd -m -u 1000 -N -G sudo droid -$ROOTCMD echo 'droid ALL=(ALL) NOPASSWD:ALL' >> $target/etc/sudoers \ No newline at end of file +$ROOTCMD useradd -m -u 1000 -N -G sudo -s /usr/bin/bash droid +$ROOTCMD echo 'droid ALL=(ALL) NOPASSWD:ALL' >> $target/etc/sudoers