Local Users
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 216 | 08 Sep 2025 | |
latest/stable | 215 | 08 Sep 2025 | |
latest/stable | 214 | 08 Sep 2025 | |
latest/stable | 213 | 08 Sep 2025 | |
latest/stable | 212 | 08 Sep 2025 | |
latest/stable | 211 | 08 Sep 2025 | |
latest/stable | 210 | 08 Sep 2025 | |
latest/stable | 209 | 08 Sep 2025 | |
latest/stable | 208 | 08 Sep 2025 | |
latest/stable | 207 | 08 Sep 2025 | |
latest/stable | 206 | 08 Sep 2025 | |
latest/stable | 205 | 08 Sep 2025 | |
latest/stable | 18 | 28 Apr 2023 | |
latest/candidate | 216 | 26 Aug 2025 | |
latest/candidate | 215 | 26 Aug 2025 | |
latest/candidate | 214 | 26 Aug 2025 | |
latest/candidate | 213 | 26 Aug 2025 | |
latest/candidate | 212 | 26 Aug 2025 | |
latest/candidate | 211 | 26 Aug 2025 | |
latest/candidate | 210 | 26 Aug 2025 | |
latest/candidate | 209 | 26 Aug 2025 | |
latest/candidate | 208 | 26 Aug 2025 | |
latest/candidate | 207 | 26 Aug 2025 | |
latest/candidate | 206 | 26 Aug 2025 | |
latest/candidate | 205 | 26 Aug 2025 | |
latest/candidate | 6 | 27 Mar 2025 | |
latest/candidate | 19 | 27 Mar 2025 | |
latest/edge | 228 | 08 Sep 2025 | |
latest/edge | 227 | 08 Sep 2025 | |
latest/edge | 226 | 08 Sep 2025 | |
latest/edge | 225 | 08 Sep 2025 | |
latest/edge | 224 | 08 Sep 2025 | |
latest/edge | 223 | 08 Sep 2025 | |
latest/edge | 222 | 08 Sep 2025 | |
latest/edge | 221 | 08 Sep 2025 | |
latest/edge | 220 | 08 Sep 2025 | |
latest/edge | 219 | 08 Sep 2025 | |
latest/edge | 218 | 08 Sep 2025 | |
latest/edge | 217 | 08 Sep 2025 | |
latest/edge | 19 | 03 May 2023 | |
latest/edge | 6 | 14 Mar 2022 |
juju deploy local-users
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
allow-existing-users | boolean
When set to False the charm will enter 'blocked' state when user exists in 'users' config and in the system, but not in the charm managed group. Setting to True disables that protection and allows for pre-existing users to be added to the charm managed group.
-
backup-path | string
Default: /var/lib/misc/charm-local-users/backup
Location on the unit that will be used for storing backups of home directories of removed users.
-
group | string
Default: charm-managed
Group name for users managed by the charm.
-
ssh-authorized-keys | string
Default: $HOME/.ssh/authorized_keys
The file to write the SSH public keys to. This option supports the usage of variables "$USER", "$HOME" and "$UID" in the path string. They will be expanded to the username, home directory and the user id of each user.
-
sudoers | string
Custom /etc/sudoers.d file. File name is 70-local-users-charm Visudo is used to check for syntax errors and print them in the charm status and more verbose in juju debug logs.
Example: Cmnd_Alias ALLOWED_CMDS = /usr/sbin/dmidecode,
/usr/sbin/hwinfo,
/sbin/ifconfig,
/bin/psmyuser ALL = (ALL) NOPASSWD: ALLOWED_CMDS
-
users | string
List of (username; Gecos Name; SSH pub key) tuples. Fields must be separated by semicolons ';'. Multiple ssh keys can be provided per user by adding multiple lines with the same username and gecos. SSH keys can also be retrieved from launchpad by using the launchpad username prepended with 'lp:'
Example: alice;Alice;<ssh_pub_key> bob;Bob;<ssh_pub_key> alice;Alice;lp:alice bob;Bob;lp:bob monitoring;Remote Monitoring;<ssh_pub_key1> monitoring;Remote Monitoring;<ssh_pub_key2> monitoring;Remote Monitoring;<ssh_pub_key3>