This commit is contained in:
ld3zian 2025-05-26 20:32:25 -07:00
parent f79ed7c8e4
commit b9926ceb4b
125 changed files with 14425 additions and 10910 deletions

22
src/tooltips.ts Normal file
View file

@ -0,0 +1,22 @@
// src/tooltips.ts
export interface TooltipEntry {
title?: string; // Optional title, can be overridden by component prop
content: string; // Markdown content
}
export interface Tooltips {
[key: string]: TooltipEntry;
}
export const tooltips: Tooltips = {
"debian-sudo": {
title: "Why Sudo?",
content: `
Using sudo could be more familiar to newer users, and it could be better (safer) than allowing a normal user to open a session as root. Some reasons:
- Nobody needs to know the root password (sudo prompts for the current user's password). Extra privileges can be granted to individual users temporarily, and then taken away without the need for a password change.
- It's easy to run only the commands that require special privileges via sudo; the rest of the time, you work as an unprivileged user, which reduces the damage that mistakes can cause.
- Auditing/logging: when a sudo command is executed, the original username and the command are logged.
`,
},
};