Merge pull request 'quickstart: add user creation' (#394) from DavHau-dave into main
This commit is contained in:
commit
c0e2bfbcb8
@ -45,6 +45,10 @@ my-machine
|
|||||||
In this example we crate a user named `my-user` that is allowed to login to the machine
|
In this example we crate a user named `my-user` that is allowed to login to the machine
|
||||||
|
|
||||||
```shellSession
|
```shellSession
|
||||||
|
# create a new user
|
||||||
|
$ clan config --machine my-machine users.users.my-user.isNormalUser true
|
||||||
|
|
||||||
|
# set some password
|
||||||
$ clan config --machine my-machine users.users.my-user.hashedPassword $(mkpasswd)
|
$ clan config --machine my-machine users.users.my-user.hashedPassword $(mkpasswd)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user