Mercurial > code > home > repos > infra
comparison users.py @ 280:5c5c314051c5
updates for pis
author | drewp@bigasterisk.com |
---|---|
date | Sun, 14 Apr 2024 20:58:39 -0700 |
parents | 4e424a144183 |
children | e10ee3ddadcf |
comparison
equal
deleted
inserted
replaced
279:1cb4aeec8fc6 | 280:5c5c314051c5 |
---|---|
6 | 6 |
7 # raspbian took 1000 for 'pi' group, but drewp is rarely used on pi | 7 # raspbian took 1000 for 'pi' group, but drewp is rarely used on pi |
8 # setups so hopefully it won't matter much that drew group has a | 8 # setups so hopefully it won't matter much that drew group has a |
9 # different id. | 9 # different id. |
10 drewp_uid, drewp_gid = 501, 1000 | 10 drewp_uid, drewp_gid = 501, 1000 |
11 if host.name in ['pillow', 'ws-printer']: | 11 if host.name in ['pillow', 'ws-printer', 'gn-music']: |
12 drewp_uid, drewp_gid = 1000, 1000 | 12 drewp_uid, drewp_gid = 1000, 1000 |
13 if host.name in ['pipe', 'garage']: | 13 if host.name in ['pipe', 'garage']: |
14 drewp_uid, drewp_gid = 1001, 501 | 14 drewp_uid, drewp_gid = 1001, 501 |
15 drewp_groups = [ | 15 drewp_groups = [ |
16 'lp', 'adm', 'dialout', 'cdrom', 'sudo', 'audio', 'video', 'plugdev', | 16 'lp', 'adm', 'dialout', 'cdrom', 'sudo', 'audio', 'video', 'plugdev', |