Skip to content

Commit 26fcbf8

Browse files
committed
Cockpit
1 parent 78f69be commit 26fcbf8

File tree

5 files changed

+33
-1
lines changed

5 files changed

+33
-1
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ module.exports = {
144144
"admin/Bootstrapper",
145145
]
146146
},
147+
"admin/Cockpit",
147148
{
148149
title: "Migrations",
149150
children: [

docs/DEBUGGING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ All locations are within /var/log unless noted. siteXX is shorthand for /home/vi
7171
| Service | Location | Remarks |
7272
| ------------------------- | -------------------------- | ------------------------------------------------------------ |
7373
| Apache | httpd/error_log | HTTP startup |
74+
| Apache per-site | siteXX ... httpd/access_log | Per-site HTTP requests
7475
| Apache per-site | siteXX ... httpd/error_log | Per-site error logs, FPM connectivity |
7576
| PHP-FPM | siteXX ... php-fpm/POOL | Per-site PHP errors, notices |
7677
| HTTP malware | httpd/modsec_audit.log | See [malware scans](./admin/ModSecurity.md) |

docs/admin/Authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Changing a server secret will invalidate all saved passwords as well as invalida
6969

7070
## Multi-factor authentication
7171

72-
See "[Restricting Authorization](../SECURITY.md#Restricting%20authorization)" in SECURITY.md.
72+
See "[Restricting Authorization](../SECURITY.md#totp)" in SECURITY.md.
7373

7474

7575
## Session multipath

docs/admin/Cockpit.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Cockpit
3+
---
4+
**New in 3.2.46**
5+
[Cockpit](https://cockpit-project.org/) is a standalone UI to facilitate system management on any Linux distro. ApisCP includes Cockpit integration on AlmaLinux/Rocky Linux 8+ installs.
6+
7+
![Cockpit dashboard](./images/cockpit.png)
8+
9+
## Enabling Cockpit
10+
11+
[TOTP](../SECURITY.md#totp) is mandatory for this feature. A [Scope](Scopes.md) is provided to toggle within the `cockpit` namespace. SSO may be enabled with `cockpit.sso` Scope.
12+
13+
Login when SSO is disabled utilizes the password for user `root`. When SSO is enabled, a limited role is created named `cockpit-user`. This user may only login from local sources and its password is the same password used to login to the panel (*NB: this may not be the same as the password for user `root`*).
14+
15+
```bash
16+
# Login/password is root/<ROOT PASSWORD>
17+
cpcmd scope:set cockpit.enabled true
18+
19+
# Enable SSO
20+
# Password to elevate "limited access mode" is panel password
21+
cpcmd scope:set cockpit.sso true
22+
```
23+
24+
SSO user may be override by changing `cockpit_sso_user` within `cp.bootstrapper` Scope, then running `software/cockpit` role. In multi-admin setups, this password will match the first user, which is decided at install.
25+
26+
```bash
27+
cpcmd scope:set cp.bootstrapper cockpit_sso_user somenewuser
28+
upcp -sb software/cockpit
29+
```
30+

docs/admin/images/cockpit.png

141 KB
Loading

0 commit comments

Comments
 (0)