From be8a548e67431ba40c454643e345fd1ec47ba4a3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 3 Sep 2019 17:37:25 -0500 Subject: req: 3: Add UI.Accounts.* --- devel/requirements/3_functional.xml | 82 ++++++++++++++++++++++++++++++++++--- 1 file changed, 76 insertions(+), 6 deletions(-) diff --git a/devel/requirements/3_functional.xml b/devel/requirements/3_functional.xml index e2af788..e5b97ef 100644 --- a/devel/requirements/3_functional.xml +++ b/devel/requirements/3_functional.xml @@ -357,8 +357,8 @@ UI.SysMeta.DefaultHostname - The system shall provide a default host name for the User, calculated using the following rules: - + The system shall provide a default host name for the User, calculated using the following algorithm: + If the system is running in a non-installation environment, use "Adelie" and end calculation. If the system has a manufacturer available via DMI or similar API, use that name truncated to 11 characters. Otherwise, use "Adelie". If the system has a network adaptor installed, even if it is not configured for use, use the last six characters of the MAC address from the first network adaptor. Otherwise, use a random fruit name. @@ -536,13 +536,83 @@ System Accounts Setup
Description / Priority - + The User needs to configure the administrator password, and provide their name/alias and password for their own account.
Functional Requirements - - - <para/> + <formalpara id="UI.Accounts.RootPW"> + <title>UI.Accounts.RootPW + The system shall prompt the User to enter a password for the root user. + + + UI.Accounts.RootPW.Confirm + The system shall prompt the User to re-enter the root user password to confirm accuracy. + + + UI.Accounts.RootPW.Explain + The system shall explain to the User the important of keeping the root user's password secure, and written in a safe place, as it is used for system administration. + + + UI.Accounts.RootPW.Enable + The system shall enable the Next button when the root password and confirmation match and represent a valid password. + + + UI.Accounts.UserAcct + If the system is running in an installation environment, then the system shall prompt the User to enter their name or alias to personalise their copy of Adélie Linux. + + + UI.Accounts.UserAcct.AcctName + The system shall prompt the User to enter an account name for their user account. + + + UI.Accounts.UserAcct.AcctName.Default + The system shall use the following algorithm to provide a default account name for the User: + + If the User's name or alias contains no spaces, let the account name be the entire name or alias. + If the User's name or alias contains spaces, let the account name be the first character of each word that is not the last word, and the full last word. + Transform the account name to a Latinised, lower-case form, as described by (Insert Unicode reference here). + If the account name is longer than 32 characters, truncate the account name to 32 characters. + + + + + UI.Accounts.UserAcct.Icon + The system shall allow the User to choose a personal icon to be shown on the system login screen from a list of preset icons. + + + UI.Accounts.UserAcct.Password + The system shall prompt the User to enter a password for their personal account. + + + UI.Accounts.UserAcct.Password.Confirm + The system shall prompt the User to re-enter their personal password to confirm accuracy. + + + UI.Accounts.UserAcct.Enable + The system shall enable the Next button when the user name, account name are valid, and the password and confirm password fields match and represent a valid password. + +
+
+ HorizonScript Keys + + Script.Key.rootpw + rootpw — The crypt(3)-formatted, SHA-512 hashed password for the root account. + + + Script.Key.username + username — The account name for the primary user of the computer. + + + Script.Key.useralias + useralias — The primary user's name or alias. + + + Script.Key.userpw + userpw — The crypt(3)-formatted, SHA-512 hashed password for the primary user account. + + + Script.Key.usericon + usericon — The name of the primary user account's icon.
-- cgit v1.2.3-60-g2f50