Skip to content

Commit

Permalink
fix: user management on classic snap
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nmw committed Feb 23, 2024
1 parent dd5a742 commit bc79697
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion snap-http
11 changes: 11 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ apps:
- shutdown
- snapd-control
- system-observe
- etc-landscape-client-user-management
environment:
LANDSCAPE_CLIENT_SNAP: 1
LANDSCAPE_CLIENT_CORE: 1
Expand All @@ -46,6 +47,16 @@ apps:
LANDSCAPE_CLIENT_CORE: 1
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$PYTHONPATH

plugs:
etc-landscape-client-user-management:
interface: system-files
read:
- /etc/passwd
- /etc/group
write:
- /etc/passwd
- /etc/group

layout:
/etc/landscape-client.conf:
bind-file: $SNAP_COMMON/etc/landscape-client.conf
Expand Down

0 comments on commit bc79697

Please sign in to comment.