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/requirements/3b_runner.xml | |
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/requirements/3b_runner.xml')
-rw-r--r-- | devel/requirements/3b_runner.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index b5e9848..9ab06bd 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -378,6 +378,14 @@ <title>Runner.Validate.usergroups.Group</title> <para>The system shall verify that each group specified is a valid system-defined group name that is present in the base system image <filename>/etc/group</filename> file.</para> </formalpara> + <formalpara id="Runner.Validate.rootshell"> + <title>Runner.Validate.rootshell</title> + <para>The system shall verify that the HorizonScript contains zero or one <literal>rootshell</literal> key.</para> + </formalpara> + <formalpara id="Runner.Validate.rootshell.Format"> + <title>Runner.Validate.rootshell.Format</title> + <para>The system shall verify that the value of the <literal>rootshell</literal> key, if present, begins with a <literal>/</literal>.</para> + </formalpara> <formalpara id="Runner.Validate.diskid"> <title>Runner.Validate.diskid</title> <para>The system shall verify any <literal>diskid</literal> keys contained in the HorizonScript.</para> @@ -828,6 +836,14 @@ <title>Runner.Execute.svcenable.AddlRunlevels</title> <para>If a runlevel not defined by the system service manager is specified in a <literal>svcenable</literal> key, it shall be interpreted to be a stacked runlevel atop the default runlevel and shall be configured as such in the target namespace.</para> </formalpara> + <formalpara id="Runner.Execute.rootshell"> + <title>Runner.Execute.rootshell</title> + <para>If a <literal>rootshell</literal> key is specified in the HorizonScript, the system shall set the shell of the <literal>root</literal> user to the value specified.</para> + </formalpara> + <formalpara id="Runner.Execute.rootshell.Exists"> + <title>Runner.Execute.rootshell.Exists</title> + <para>If the <literal>rootshell</literal> key specifies a file that does not exist or is not executable, the system shall set the shell of the <literal>root</literal> user to the value<literal>/bin/sh</literal>.</para> + </formalpara> <formalpara id="Runner.Execute.bootloader"> <title>Runner.Execute.bootloader</title> <para>If a <literal>bootloader</literal> key is specified in the HorizonScript, the system shall perform the requested bootloader configuration.</para> |