#566446 Please allow netselect-apt to be run as non-root

#566446#5
Date:
2010-01-23 13:01:16 UTC
From:
To:
Hi,

This is something like http://bugs.debian.org/117265 +
http://bugs.debian.org/297439

I would like something like netselect-apt that can be run as an ordinary
user to suggest a line to be added to sources.list.  This way, a
paranoid sysadmin no longer needs to read the source to carry out such
a simple operation.

What do you think?

Jonathan

#566446#10
Date:
2010-01-23 17:58:26 UTC
From:
To:
merge 566446 297439
thanks

Hi Jonathan,

looks like exactly 297439, merging.

it is netselect that needs root privileges, the script can run as any user
(thus the merge), anyhow have a look at README.Debian. It can be done with
file capabilities on recent linux versions.

I agree that as a solution is suboptimal and the debconf question should be
changed, but at least you get CAP_NET_RAW instead of full root.

filippo

#566446#15
Date:
2010-01-23 18:17:42 UTC
From:
To:
Hi Filippo,

Filippo Giunchedi wrote:

Oh, thanks!  I’d be glad to help out if I can find time.

Regards,
Jonathan