Bug#911907: [monkeysphere] Bug#911907: [Pkg-privacy-maintainers] Bug#911907: monkeysphere: Install fails on systems with PAM login restrictions

2018-10-29 Thread Sunil Mohan Adapa
On Monday 29 October 2018 05:24 AM, Daniel Kahn Gillmor wrote: [...] >> # usermod -s /usr/sbin/nologin monkeysphere >> # su monkeysphere ls >> This account is currently not available. >> # runuser --user monkeysphere ls >> > > reading the documentation for runuser: > >-s, --shell=shell

Bug#911907: [monkeysphere] Bug#911907: [Pkg-privacy-maintainers] Bug#911907: monkeysphere: Install fails on systems with PAM login restrictions

2018-10-29 Thread Daniel Kahn Gillmor
Hi Sunil-- thanks for all your work on this. i think we're heading for a significant improvement here :) On Mon 2018-10-29 00:35:53 -0700, Sunil Mohan Adapa wrote: > runuser does not seem to depend on the user's shell. It simply runs a > given process under that user's id (with a different PAM

Bug#911907: [monkeysphere] Bug#911907: [Pkg-privacy-maintainers] Bug#911907: monkeysphere: Install fails on systems with PAM login restrictions

2018-10-29 Thread Sunil Mohan Adapa
Thank you for the feedback. On Friday 26 October 2018 05:41 AM, Daniel Kahn Gillmor wrote: [...] >> # requote arguments using bash builtin feature (see "help >> printf"): >> -su "$MONKEYSPHERE_USER" -s "$(which bash)" -c "$(printf "%q " "$@")" >> +runuser -u

Bug#911907: [Pkg-privacy-maintainers] Bug#911907: monkeysphere: Install fails on systems with PAM login restrictions

2018-10-26 Thread Daniel Kahn Gillmor
Control: tags 911907 + confirmed Hi Sunil-- thanks for catching this, and for proposing a fix. On Thu 2018-10-25 18:20:11 -0700, Sunil Mohan Adapa wrote: > We faced a similar issue with quassel-core package recently and the > maintainer fixed it by using runuser instead of su. From what I