Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit dfd5cbe

Browse files
committed
fixup! fixup! feat: Add user configuration for all providers
Manually wrap lines in doc
1 parent b8bcb0e commit dfd5cbe

File tree

1 file changed

+15
-8
lines changed
  • docs/content/customization/generic

1 file changed

+15
-8
lines changed

docs/content/customization/generic/users.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@
22
title = "Users"
33
+++
44

5-
Configure users for all machines in the cluster, the user's superuser capabilities using `sudo` user specifications, and the login authentication mechanism.
5+
Configure users for all machines in the cluster, the user's superuser capabilities using `sudo` user specifications, and
6+
the login authentication mechanism.
67

7-
> - SSH _authorized keys_ are just public SSH keys that are used to authenticate a login. See the [SSH man page](https://www.man7.org/linux/man-pages/man8/sshd.8.html#AUTHORIZED_KEYS_FILE_FORMAT) for more information.
8+
> - SSH _authorized keys_ are just public SSH keys that are used to authenticate a login. See the [SSH man
9+
> page](https://www.man7.org/linux/man-pages/man8/sshd.8.html#AUTHORIZED_KEYS_FILE_FORMAT) for more information.
810
>
9-
> - For information on sudo user specifications, see the [sudo documentation](https://www.sudo.ws/docs/man/sudoers.man/#User_specification).
11+
> - For information on sudo user specifications, see the [sudo
12+
> documentation](https://www.sudo.ws/docs/man/sudoers.man/#User_specification).
1013
>
11-
> - Local password authentication is disabled for the user by default. It is enabled only when a hashed password is provided.
14+
> - Local password authentication is disabled for the user by default. It is enabled only when a hashed password is
15+
> provided.
1216
1317
## Examples
1418

1519
### Admin user with SSH public key login
1620

17-
Creates a user with the name `admin`, grants the user the ability to run any command as the superuser, and allows you to login via SSH using the username and private key corresponding to the authorized public key.
21+
Creates a user with the name `admin`, grants the user the ability to run any command as the superuser, and allows you to
22+
login via SSH using the username and private key corresponding to the authorized public key.
1823

1924
```yaml
2025
apiVersion: cluster.x-k8s.io/v1beta1
@@ -29,15 +34,17 @@ spec:
2934
users:
3035
- name: admin
3136
- sshAuthorizedKeys:
32-
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAua0lo8BiGWgvIiDCKnQDKL5uERHfnehm0ns5CEJpJw optional-comment"
37+
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAua0lo8BiGWgvIiDCKnQDKL5uERHfnehm0ns5CEJpJw optionalcomment"
3338
sudo: "ALL=(ALL) NOPASSWD:ALL"
3439
```
3540
3641
### Admin user with serial console password login
3742
38-
Creates a user with the name `admin,` grants the user the ability to run any command as the superuser, and allows you to login via serial console using the username and password.
43+
Creates a user with the name `admin,` grants the user the ability to run any command as the superuser, and allows you to
44+
login via serial console using the username and password.
3945

40-
> Note that this does not allow you to login via SSH using the username and password; in most cases, you must also configure the SSH server to allow password authentication.
46+
> Note that this does not allow you to login via SSH using the username and password; in most cases, you must also
47+
> configure the SSH server to allow password authentication.
4148

4249
```yaml
4350
apiVersion: cluster.x-k8s.io/v1beta1

0 commit comments

Comments
 (0)