content/wiki/install/post.md

65 lines
1.6 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).
## Adding New Users
You can add new users using the `useradd` command, for example:
```
# useradd -m ngn
```
## Installing OpenSSH
For remote access to your system, you can install OpenSSH server:
```
# mp-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:
```
# mp-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:
```
# echo "permit keepenv :wheel" > /etc/doas.conf
```
2024-02-03 13:20:29 +00:00
## Installing XORG
Xorg can be installed using a simple wrapper package:
```
# mp-install xorg
```
Then you can use `startx` to start the `xorg-server`.
## Installing a desktop
To easily install a desktop, you can use the `xcfg` tool:
```
# mp-install xcfg
```
You can then use the tool as a regular user, not that you will need access to the `doas` (or `sudo`) command
in order to use the tool:
```
$ xcfg
```