content/wiki/install/post.md

59 lines
1.5 KiB
Markdown
Raw Normal View History

To make your system more usable, you may want to install and configure extra packages.
> **Note**
>
> Currently MatterLinux has limited amount of packages, so there are lots of
2024-02-03 13:32:29 +00:00
> missing packages that some users may consider essential, such as a desktop environment.
> If you want more packages, consider [contributing](/wiki/contribute).
## Installing OpenSSH
For remote access to your system, you can install OpenSSH server:
```
2024-08-25 20:29:24 +00:00
# matt install openssh
```
You can enable root login, by editing `/etc/ssh/sshd_config`:
```
PermitRootLogin yes
```
2024-02-03 13:20:29 +00:00
## Adding new users
To add a new user, use the `useradd` command:
```
# useradd -m <username>
```
You may want to configure `doas` to provide root access to the new user.
To do this, install the `doas` package:
```
2024-08-25 20:29:24 +00:00
# matt install doas
```
Then create a group named `wheel` for all the admin users:
```
# groupadd wheel
```
Add your user to the `wheel` group:
```
# usermod -aG wheel <username>
```
Lastly edit the doas confiuration (`/etc/doas.conf`) to give access to the `wheel` group users:
```
2024-08-25 20:29:24 +00:00
# echo "permit :wheel" > /etc/doas.conf
```
2024-02-03 13:20:29 +00:00
## Installing XORG
Xorg can be installed using a simple wrapper package:
```
2024-08-25 20:29:24 +00:00
# matt install xorg
2024-02-03 13:20:29 +00:00
```
Then you can use `startx` to start the `xorg-server`.
## Installing a desktop
To easily install a desktop, you can use the `xcfg` tool:
```
2024-08-25 20:29:24 +00:00
# matt install xcfg
```
You can then use the tool as a regular user, not that you will need access to the `doas` command
in order to use the tool:
```
$ xcfg
```