summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-06-19 16:51:50 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-12-03 14:39:57 +1100
commit1b72d21bc3713b6c82f56e31e84413e0956fa4ed (patch)
treeeaa2c5ee39c3f5748d212d3dd1bb3adf9c835a59 /lib
parent121d6bb265e991a237e9d07cfd84eed5a3ce3d57 (diff)
downloadtalos-petitboot-1b72d21bc3713b6c82f56e31e84413e0956fa4ed.zip
talos-petitboot-1b72d21bc3713b6c82f56e31e84413e0956fa4ed.tar.gz
discover/platform-powerpc: Read and write password hash from NVRAM
If petitboot,password exists set it as the root password. This will be the password used to authenticate clients. This is the *hash* of a password as it would appear in /etc/shadow, not the password itself. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/param_list/param_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/param_list/param_list.c b/lib/param_list/param_list.c
index b3a45f8..9a01be6 100644
--- a/lib/param_list/param_list.c
+++ b/lib/param_list/param_list.c
@@ -22,6 +22,7 @@ const char **common_known_params(void)
"petitboot,console",
"petitboot,http_proxy",
"petitboot,https_proxy",
+ "petitboot,password",
NULL,
};
OpenPOWER on IntegriCloud