diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-12-01 21:39:58 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-12-01 21:47:21 -0600 |
commit | 36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc (patch) | |
tree | 323d215d395f5e7b276f7fe267d9952e884cce69 /devel/script | |
parent | 8e5abd31f932c51a1f153e02d769eaebd6a2a543 (diff) | |
download | horizon-36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc.tar.gz horizon-36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc.tar.bz2 horizon-36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc.tar.xz horizon-36dc1b7a2ea44321a2c233fd7ea576ed516d4ccc.zip |
Add 'rootshell' key to determine root's shell
* Key added to code and documentation.
* Tests added and pass locally on gwyn (ppc64) and fran (aarch64).
* Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206).
* ISO image creator backend no longer has root shell hack.
Diffstat (limited to 'devel/script')
-rw-r--r-- | devel/script/2_keys.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index bd8469c..854f0d5 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -695,6 +695,37 @@ signingkey https://packages/builder@ourcompany.net.pub </para> </formalpara> </section> + <section id="rootshell"> + <title><literal>rootshell</literal></title> + <formalpara id="rootshell.name"> + <title>Name</title> + <para><literal>rootshell</literal></para> + </formalpara> + <formalpara id="rootshell.purpose"> + <title>Purpose</title> + <para>The <literal>rootshell</literal> key specifies the shell to use when logging in to the target computer as the <literal>root</literal> user.</para> + </formalpara> + <formalpara id="rootshell.format"> + <title>Format</title> + <para>The <literal>rootshell</literal> key is a single string value containing the full path inside the target to the executable to use as the shell.</para> + </formalpara> + <formalpara id="rootshell.default"> + <title>Default</title> + <para>If no <literal>rootshell</literal> key is specified, the target computer will use <literal>/bin/sh</literal> as the shell when logging in as the <literal>root</literal> user.</para> + </formalpara> + <formalpara id="rootshell.example"> + <title>Example</title> + <para> + <example> + <title>The <literal>rootshell</literal> Key</title> + <programlisting> + rootshell /bin/zsh + </programlisting> + <para>This will configure the target computer to use <literal>/bin/zsh</literal> as the shell when logging in as the <literal>root</literal> user.</para> + </example> + </para> + </formalpara> + </section> <section id="bootloader"> <title><literal>bootloader</literal></title> <formalpara id="bootloader.name"> |