Re: chpst -u and supplementary groups

2019-08-19 Thread Bougy Man
When I need this functionality, I generally use `groups=id -G|sed -e 's/\s/:/g'` then `chpst -u myuser:$groups` for the command line. This is almost always just for processes I want to run as my own user, so it's a rarity. Tj On Mon, Aug 19, 2019 at 7:08 AM Jan Braun wrote: > Hello list! > >

Re: chpst -u and supplementary groups

2019-08-19 Thread Steve Litt
On Mon, 19 Aug 2019 14:08:07 +0200 Jan Braun wrote: > Hello list! > > Yesterday, I spent way too much time chasing down a permissions > problem caused by the fact that "chpst -u acc prog..." only sets the > account's primary group, and ignores any supplementary groups the > account may be a

chpst -u and supplementary groups

2019-08-19 Thread Jan Braun
Hello list! Yesterday, I spent way too much time chasing down a permissions problem caused by the fact that "chpst -u acc prog..." only sets the account's primary group, and ignores any supplementary groups the account may be a member of. TFM mentions "All initial supplementary groups are