summaryrefslogtreecommitdiffstats
path: root/openpower/package
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-02-21 10:29:12 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-02-21 10:31:44 +1100
commitb99c501187dc8a370103cf8356852020943e3cb3 (patch)
tree1a228c14891763697f8a97e4a54e3b83bf04e8a6 /openpower/package
parent91d14843930cffc0e0004bd67e994d8f31e4ffeb (diff)
downloadblackbird-op-build-b99c501187dc8a370103cf8356852020943e3cb3.tar.gz
blackbird-op-build-b99c501187dc8a370103cf8356852020943e3cb3.zip
petitboot: Update login prompt message
If no password is set Petitboot will automatically open a shell as the root user, and prints a message. Update this message to be more helpful to a user if they're not aware that password authentication is available. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'openpower/package')
-rw-r--r--openpower/package/petitboot/shell_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpower/package/petitboot/shell_config b/openpower/package/petitboot/shell_config
index 608738d6..59337ff5 100644
--- a/openpower/package/petitboot/shell_config
+++ b/openpower/package/petitboot/shell_config
@@ -8,7 +8,7 @@ echo "You may run 'pb-sos' to gather diagnostic data"
if [[ "$(id -u)" != "0" ]]; then
echo "" | sudo -S /bin/true 2&>1 >> /dev/null
if [[ $? = 0 ]]; then
- echo "No password set, elevating shell"
+ echo "No password set, running as root. You may set a password in the System Configuration screen."
sudo -i
sudo -K
exit
OpenPOWER on IntegriCloud