comparison users.py @ 282:e10ee3ddadcf

pi changes
author drewp@bigasterisk.com
date Mon, 15 Apr 2024 02:27:07 -0700
parents 5c5c314051c5
children 3af02e24eaf9
comparison
equal deleted inserted replaced
281:957eb07e06e6 282:e10ee3ddadcf
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', 'gn-music']: 11 if host.name in ['pillow', ]:
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', 'ws-printer', 'gn-music', 'li-drums']:
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',
17 'games', 'users', 'netdev', 'i2c', 'input', 'spi', 'gpio', 'fuse', 17 'games', 'users', 'netdev', 'i2c', 'input', 'spi', 'gpio', 'fuse',
18 'docker', 'render', 'mongodb', 'lpadmin' 18 'docker', 'render', 'mongodb', 'lpadmin'