Control: tags -1 + moreinfo

On Thu, 4 Feb 2016 23:48:52 +0100 Francesco Poli wrote:

> On Thu, 04 Feb 2016 12:24:09 +0200 Nick T. wrote:
[...]
> > listbugs should drop the superuser privileges before doing so. My 
> > recommendation is to launch the browser as 'nobody' by default and add a 
> > config option to set a custom user.
> 
> Mmmmh, I have to think about this possible approach.
> I'll let you know as soon as possible: please stay tuned.

I tried to see whether the user-switching capability could be
re-enabled in apt-listbugs, but I don't seem to have found any
appropriate strategy.

Running (as root)

  # su nobody -c "w3m http://bugs.debian.org";
  This account is currently not available.
  # echo $?
  1

fails.

Running (as root)

  # su _apt -c "w3m http://bugs.debian.org";
  # echo $?
  1

also fails.

Moreover, there's the problem that apt-listbugs uses sensible-browser
to find a suitable browser and this does not seem to be configurable
for a user with no home directory.

If you have any good suggestion, please speak up.



-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpTDAkAUlvJ8.pgp
Description: PGP signature

Reply via email to