mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 19:42:15 +02:00
fix(coreos-base/coreos-base): Change core's shell to bash.
It is bash but might as well be explicit about that.
This commit is contained in:
parent
a1a5f82b28
commit
898a3a3a08
@ -167,7 +167,7 @@ pkg_postinst() {
|
|||||||
crypted_password=$(cat "${SHARED_USER_PASSWD_FILE}")
|
crypted_password=$(cat "${SHARED_USER_PASSWD_FILE}")
|
||||||
remove_user "${system_user}"
|
remove_user "${system_user}"
|
||||||
add_user "${system_user}" "x" "${system_id}" \
|
add_user "${system_user}" "x" "${system_id}" \
|
||||||
"${system_id}" "system_user" "${system_home}" /bin/sh
|
"${system_id}" "system_user" "${system_home}" /bin/bash
|
||||||
remove_shadow "${system_user}"
|
remove_shadow "${system_user}"
|
||||||
add_shadow "${system_user}" "${crypted_password}"
|
add_shadow "${system_user}" "${crypted_password}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user