Skip to content

Reference for users.yaml#

OS Default location
Linux ~/.config/lungo/users.yaml
macOS ~/Library/Application Support/lungo/users.yaml
Windows %USERPROFILE%\AppData\Local\lungo\lungo\users.yaml
users.yaml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## Configuration file for user management

# =========
# accounts:
# =========

#   # List of accounts
#   -

#       # Enable or disable the account
#       # Type: boolean
#       # Default: true
#       # Required: no
#       enabled: false

#       # Username
#       # Type: string
#       # Default: none
#       # Required: yes
#       username: joe

#       # Full name (first and last)
#       name:

#         # First name
#         # Type: string
#         # Default: none
#         # Required: yes
#         first: Joe

#         # Last name
#         # Type: string
#         # Default: none
#         # Required: yes
#         last: Doe

#       # Email address
#       # Type: string
#       # Default: none
#       # Required: yes
#       email: joe@gmail.com

#       # User role
#       # Type: 'guest' | 'user' | 'admin'
#       # Default: none
#       # Required: yes
#       role: user

#       # Extra configuration
#       extra:

#         # Allowed apps besides those defined in the role, or 'all' to allow all apps
#         # Type: 'all' | array
#         # Default: [ ]
#         # Required: no
#         allowed_apps:
#           - all

#         # Override user directory
#         # Type: path
#         # Default: none
#         # Required: no
#         user_dir: /mnt/somewhere/someone

#         # User-specific shared directories
#         shared_dirs:
#           -

#               # Name of the directory after mounted (must be unique)
#               Type: string
#               Default: none
#               Required: yes
#               name: shared_readonly

#               # Path to the directory on the host
#               # Type: path
#               # Default: none
#               # Required: yes
#               source: /mnt/data/shared_readonly

#               # Whether to mount the directory as read-only or not
#               # Type: boolean
#               # Default: false
#               # Required: no
#               read_only: true