65 lines
694 B
Markdown
65 lines
694 B
Markdown
4# Allgemein
|
|
## Enable root ssh
|
|
|
|
|
|
```
|
|
nano /etc/ssh/sshd_config
|
|
```
|
|
|
|
Folgende Zeile entsprechend anpassen:
|
|
|
|
```
|
|
PermitRootLogin yes
|
|
```
|
|
|
|
```
|
|
systemctl restart sshd
|
|
```
|
|
|
|
---
|
|
|
|
# User not available
|
|
|
|
```
|
|
nano /etc/passwd
|
|
```
|
|
|
|
In Zeile von Benutzer hinten änderen
|
|
|
|
```
|
|
/usr/sbin/nologin
|
|
|
|
->
|
|
|
|
/bin/bash
|
|
```
|
|
|
|
---
|
|
|
|
# Proxmox
|
|
## Unbekanntes Passwort für LXC
|
|
Auf Server Console ausführen:
|
|
```
|
|
pct enter CTID
|
|
```
|
|
|
|
---
|
|
|
|
# ZFS
|
|
## Pool zuweisen
|
|
|
|
```
|
|
chmod -R 777 /wd/media
|
|
pct set 105 --mp1 /wd/media,mp=/root/metube/media
|
|
pct set 108 --mp1 /wd/media,mp=/mnt/media
|
|
```
|
|
|
|
## Platte zu Pool hinzufügen
|
|
```
|
|
zpool attach POOL OLD_DISK NEW_DISK
|
|
```
|
|
|
|
## Platte von Pool ersetzen
|
|
```
|
|
zpool replace POOL DISK
|
|
``` |