summaryrefslogtreecommitdiffstats
path: root/openpower/configs/users-table
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-11-26 11:47:43 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-02-06 13:03:28 +1100
commitdb6ca355bc6fbd5e259e3ac5efe844a43d993bad (patch)
tree22252d0af5d9c3025fb2da5903bb3300faef8d25 /openpower/configs/users-table
parentfa1e6bfa93844d9bdd507c666b7f5e9c864c2989 (diff)
downloadblackbird-op-build-db6ca355bc6fbd5e259e3ac5efe844a43d993bad.tar.gz
blackbird-op-build-db6ca355bc6fbd5e259e3ac5efe844a43d993bad.zip
petitboot: Enable user separation
Turn on support for unprivileged user accounts in the Petitboot environment, including setting up a basic non-root user and group. The implementation also requires using the agetty package rather than the busybox getty utility, calling the initial pb-console helper on login rather than directly, and moving some shell init logic from Petitboot and into a .shrc script. If no root password is configured in NVRAM or at runtime then this has no effect aside from some nicer shell behaviour. Once a password is configured then most actions in Petitboot will require this password and the shell runs as a normal user. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'openpower/configs/users-table')
-rw-r--r--openpower/configs/users-table1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpower/configs/users-table b/openpower/configs/users-table
new file mode 100644
index 00000000..9c3be67c
--- /dev/null
+++ b/openpower/configs/users-table
@@ -0,0 +1 @@
+petituser 1111 petitgroup 2222 - /home/petituser /bin/sh wheel
OpenPOWER on IntegriCloud