54 lines
3.3 KiB
TeX
54 lines
3.3 KiB
TeX
\chapter{Passwords}
|
|
\ChapterLabel{Passwords}
|
|
\index{password rules}
|
|
|
|
This chapter records proposed development credentials and non-secret vault
|
|
references for the reported Gitea production host. These entries do not
|
|
confirm that accounts exist. No password, token, private key, or secret value
|
|
is included in this report.
|
|
|
|
\section{My Proposed Password Rule}
|
|
My rule is \textbf{one host, one account, one unique secret}. I will use a
|
|
separate, randomly generated password of at least 16 characters for each
|
|
password-based account and keep it in a password manager. I will not derive
|
|
passwords from host names, usernames, the course number, or a shared base
|
|
password. Hints below identify only the purpose and vault location, never any
|
|
password characters, token, or generation pattern.
|
|
|
|
\section{User, Password, and Server Rules}
|
|
The hosts are described in \ChapterRef{Hosts}. Use unique credentials and
|
|
least privilege; use SSH key authentication where available and keep private
|
|
keys out of this document and source control.
|
|
|
|
\small
|
|
\begin{longtable}{@{}L{2.1cm}L{3.2cm}L{4.7cm}L{3.6cm}@{}}
|
|
\caption{User, Password, and Server Rules\label{Table:PasswordRules}}\\
|
|
\toprule
|
|
\textbf{User label} & \textbf{Server / host} & \textbf{Password and access rule} & \textbf{Non-secret hint / vault reference}\\
|
|
\midrule
|
|
\endfirsthead
|
|
\multicolumn{4}{l}{\small\itshape Password rules (continued)}\\
|
|
\toprule
|
|
\textbf{User label} & \textbf{Server / host} & \textbf{Password and access rule} & \textbf{Non-secret hint / vault reference}\\
|
|
\midrule
|
|
\endhead
|
|
\midrule
|
|
\multicolumn{4}{r}{\small\itshape Continued on next page}\\
|
|
\endfoot
|
|
\bottomrule
|
|
\endlastfoot
|
|
\texttt{devuser} & \texttt{dev-workstation} & Use a unique generated password for the everyday development account; reserve administrative access for tasks that require it. & Vault reference: Development / Workstation (entry title only).\\
|
|
\addlinespace
|
|
\texttt{appuser} & \texttt{dev-app} & Use a separate generated password if password login is enabled; limit this account to application development tasks. & Vault reference: Development / Application host (entry title only).\\
|
|
\addlinespace
|
|
\texttt{dbuser} & \texttt{dev-db} & Use a unique database-account password, distinct from the host login; restrict access to the development database. & Vault reference: Development / Database (entry title only).\\
|
|
\addlinespace
|
|
\texttt{builduser} & \texttt{dev-build} & Use a distinct generated password if interactive login is needed; keep automation credentials separate and out of source files. & Vault reference: Development / Build host (entry title only).\\
|
|
\addlinespace
|
|
Gitea administrator & \texttt{git.590hcm.dev} & Individual administrator account with only required privileges; account name and existence require confirmation. & Vault reference: Infrastructure / Gitea / Administrator (entry title only).\\
|
|
\addlinespace
|
|
\texttt{ubuntu} SSH user & AWS Lightsail instance & Prefer key authentication; restrict SSH access to authorized administrators. Never record private key material here. & Vault reference: Infrastructure / Lightsail / SSH key metadata only.\\
|
|
\addlinespace
|
|
SQLite DB user & \texttt{git.590hcm.dev} & Not applicable for SQLite: the local database file has no separate database login. & N/A; no database-user password or token exists for this configuration.\\
|
|
\end{longtable}
|
|
\normalsize |