Mercurial > code > home > repos > infra
comparison users.py @ 275:058c312ffdce
new host `pillow`
author | drewp@bigasterisk.com |
---|---|
date | Sat, 23 Mar 2024 14:20:20 -0700 |
parents | 5565e4c907aa |
children | 4e424a144183 |
comparison
equal
deleted
inserted
replaced
274:e9ff0339b096 | 275:058c312ffdce |
---|---|
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_gid = 1000 if (not is_pi and host.name != 'pipe') else 501 | 10 drewp_gid = 1000 if (not is_pi and host.name != 'pipe') else 501 |
11 drewp_uid = 501 | 11 drewp_uid = 501 if host.name != 'pillow' else 1000 |
12 drewp_groups = [ | 12 drewp_groups = [ |
13 'lp', 'adm', 'dialout', 'cdrom', 'sudo', 'audio', 'video', 'plugdev', | 13 'lp', 'adm', 'dialout', 'cdrom', 'sudo', 'audio', 'video', 'plugdev', |
14 'games', 'users', 'netdev', 'i2c', 'input', 'spi', 'gpio', 'fuse', | 14 'games', 'users', 'netdev', 'i2c', 'input', 'spi', 'gpio', 'fuse', |
15 'docker', 'render', 'mongodb', 'lpadmin' | 15 'docker', 'render', 'mongodb', 'lpadmin' |
16 ] | 16 ] |