Change 'sysadmin' default shell to bash

The user 'sysadmin' by default uses /bin/sh. Changing it to
/bin/bash will enable k8s commands autocompletion.

Test Plan: (On both CentOS and Debian)
PASS: Install AIO-SX lab. Verify k8s commands autocomplete
      works. Perform lock, unlock and reboot operations.
      Verify that the sysadmin continues to use /bin/bash as the
      default shell and k8s autocomplete works after each
      operation

Closes-bug: 1942455

Signed-off-by: Kaustubh Dhokte <kaustubh.dhokte@windriver.com>
Change-Id: Ibe2f097b77d7c2b6842b309faf7b5a35a89fad49
This commit is contained in:
Kaustubh Dhokte
2022-05-16 20:49:54 -04:00
parent e2990d1dde
commit 83a6c5a251

View File

@@ -22,7 +22,7 @@ class platform::users
home => '/home/sysadmin',
password => $sysadmin_password,
password_max_age => $sysadmin_password_max_age,
shell => '/bin/sh',
shell => '/bin/bash',
}
}
@@ -42,7 +42,7 @@ class platform::users::bootstrap
groups => ['root', $::platform::params::protected_group_name],
home => '/home/sysadmin',
password_max_age => $sysadmin_password_max_age,
shell => '/bin/sh',
shell => '/bin/bash',
}
}