Skip to content

Commit b8d1b2b

Browse files
authored
running: Fix SUSE commands (cockpit-project#757)
Fixes multiple problems: 1. The last SUSE command was lacking the ``` ending, so it was formatted incorrectly 2. All commands used `#`, which is a comment (in addition to the standard root prompt), so copy/pasting the full line wouldn't work 3. All instructions on the page are done via the root account already, so sudo isn't needed 4. `$EDITOR` actually is set by default and uses the default editor... the "of choice" is implied, as someone can change the editor to whatever they want; this makes it clear to use whatever editor _and_ allows a copy/paste to work
1 parent c8d5278 commit b8d1b2b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

running.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,28 +267,29 @@ sudo systemctl enable --now cockpit.socket
267267
```
268268

269269

270-
### openSUSE Tumbleweed and Leap
270+
### openSUSE Tumbleweed and Leap
271271
{:#tumbleweed}
272272

273273
[Cockpit](https://software.opensuse.org/package/cockpit) is available in both [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed) and [openSUSE Leap](https://get.opensuse.org/leap) starting by 15.6:
274274

275275

276276
1. Install cockpit:
277277
```
278-
# zypper in cockpit
278+
zypper in cockpit
279279
```
280280
2. Enable cockpit:
281281
```
282-
# systemctl enable --now cockpit.socket
282+
systemctl enable --now cockpit.socket
283283
```
284284
3. Open the firewall if necessary:
285285
```
286-
# firewall-cmd --permanent --zone=public --add-service=cockpit
287-
# firewall-cmd --reload
286+
firewall-cmd --permanent --zone=public --add-service=cockpit
287+
firewall-cmd --reload
288288
```
289289
4. Optionally allow root access (disabled by default)
290290
```
291-
# sudo $EDITOR_OF_CHOICE /etc/cockpit/disallowed-users
291+
$EDITOR /etc/cockpit/disallowed-users
292+
```
292293

293294
### SUSE Linux Enterprise Micro
294295
{:#slemicro}

0 commit comments

Comments
 (0)