{{Header}}
{{Title|
title=sysmaint - System Maintenance User
}}
{{#seo:
|description={{project_name_short}} specific sysmaint account documentation. Default Installation Status Differences - GUI (LXQt) versus CLI - Older versions versus new images. "permission denied: sudo"
|image=Whonix-workstation-grub-sysmaint-boot-option.png
}}
{{intro|
* Overview: {{project_name_short}} specific sysmaint account documentation and default installation status differences.
* Default: {{project_name_short}} LXQt comes with [[sysmaint|user-sysmaint-split]] by default.
* Accounts: There are two accounts:
** user: For daily activities.
** sysmaint: For system maintenance administrative activities, such as installing software or upgrading.
* Security rationale: This is a security feature. ({{kicksecure_wiki
|wikipage=Root#Rationale_for_Separate_sysmaint_Account
|text=rationale
}})
* Administrative access: Boot into the sysmaint session. This is the recommended way to perform administrative tasks, to run tools such as sudo or pkexec.
* Troubleshooting: If you see the following errors, you are most likely in the user session:
permission denied: sudo
permission denied: pkexec* Fix: Reboot into the
sysmaint session and run administrative commands there.
* Unrestricted Admin Mode: The opposite of user-sysmaint-split is {{kicksecure_wiki
|wikipage=unrestricted_admin_mode
|text=Unrestricted Admin Mode
}}, which users can opt in to enable. This is generally not recommended, because it reduces the security benefits of user-sysmaint-split.
* Older versions: For older versions, refer to [[Sysmaint#Version_Overview|Version Overview]] for upgrade information.
}}
= Screenshot =
[[Non-Qubes-Whonix]]:
'''Image:''' ''Whonix-Workstation - sysmaint Boot Option in [[grub|GRUB]] boot menu''
[[File:whonix-workstation-grub-sysmaint-boot-option.png|400px|Whonix-Workstation GRUB Boot Menu - Sysmaint Boot option]]
[[Qubes-Whonix]]:
'''Image:''' ''Whonix-Workstation - sysmaint Boot Option in Qubes VM Manager (QVMM)''
TODO: add screenshot
= Version Overview =
{| class="wikitable"
! Feature
! [[Whonix-Workstation]] LXQt (GUI)
! [[Whonix-Gateway]] LXQt (GUI)
! Whonix-Workstation CLI
! Whonix-Gateway CLI
|-
! user-sysmaint-split
| {{Yes}}, default in new images.
| {{Yes}}, default in new images.
| {{No}}, not default.
| {{No}}, not default.
|-
! Old Versions
| {{No}}, not auto-installed (to avoid breaking workflows).
| {{No}}, not auto-installed (to avoid breaking workflows).
| {{No}}, not applicable (remains sudo passwordless by default).
| {{No}}, not applicable (remains sudo passwordless by default).
|-
! New Images
| {{Yes}}, includes user-sysmaint-split by default.
| {{Yes}}, includes user-sysmaint-split by default.
| {{No}}, does not include user-sysmaint-split.
| {{No}}, does not include user-sysmaint-split.
|-
! 17 to 18 [[Release Upgrade]]
| {{No}}, does not auto-install user-sysmaint-split.
| {{No}}, does not auto-install user-sysmaint-split.
| {{No}}, does not include user-sysmaint-split.
| {{No}}, does not include user-sysmaint-split.
|-
! Opt-Out
| {{Yes}}, via {{kicksecure_wiki
|wikipage=unrestricted_admin_mode
|text=Unrestricted Admin Mode
}}.
| {{Yes}}
| {{Yes}}
| {{Yes}}
|-
! Opt-In
| {{Yes}}, can be installed anytime.
| {{Yes}}
| {{Yes}}
| {{Yes}}
|-
|}
= user-sysmaint-split - Whonix-Workstation versus Whonix-Gateway - Default Installation Status Differences =
In the past, in earlier versions, there have been differences between Whonix-Workstation and Whonix-Gateway.
[https://forums.whonix.org/t/qubes-sudo-su-root-hardening-development-discussion/8561/54 Whonix Forums Discussion on the usefulness of user-sysmaint-split inside Whonix-Gateway]
There are no more differences since {{project_name_short}} 18.
[https://forums.whonix.org/t/restrict-root-access/7658/120 Whonix Forums post about restricting root access]
= user-sysmaint-split - GUI vs CLI - Default Installation Status Differences =
* Default installation status: user-sysmaint-split default installation status (installed by default versus not installed by default) differs between the {{gui}} and {{cli}} versions.
* Future direction: In the future, the CLI version will be improved to be more suitable for servers.
** Server support: Server support for user-sysmaint-split is not yet as sophisticated as it is for the GUI version.
** Server use cases: For some server use cases, user-sysmaint-split may be less needed or unnecessary.
** Further reading: This topic is elaborated in the development chapter {{kicksecure_wiki
|wikipage=Dev/user-sysmaint-split#Server_Support
|text=user-sysmaint-split Server Support
}}.
= Upstream =
{{upstream_wiki|
Sysmaint
}}
= Footnotes =
{{reflist|close=1}}
[[Category:Documentation]]
{{Footer}}