capabilities

2003-07-24 Thread Adam ENDRODI
Hello all, I'm toying with POSIX(-like) capabilities. I've dug up the libcap* packages, played with their source and done some research. Below I list three problems I need to resolve and the conclusions I've come to. -- Problem 1: I want to execute as root a program with reduced

Re: capabilities

2003-07-24 Thread Olaf Dietsche
Adam ENDRODI [EMAIL PROTECTED] writes: -- Problem 3: I'd like to grant or revoke capabilities to/from a running process. This seems to be the easiest, except that the kernel in the default configuration doesn't permit this (cap_bound doesn't contain CAP_SETPCAP which

Re: activating an unconfigured interface using /etc/network/interfaces...?

2003-07-24 Thread Keegan Quinn
Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command

activating an unconfigured interface using /etc/network/interfaces...?

2003-07-24 Thread Matthew Whitworth
I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command string ifconfig eth1 0.0.0.0 up, but I was wondering if there was a way to do this

Re: capabilities

2003-07-24 Thread Olaf Dietsche
Adam ENDRODI [EMAIL PROTECTED] writes: -- Problem 3: I'd like to grant or revoke capabilities to/from a running process. This seems to be the easiest, except that the kernel in the default configuration doesn't permit this (cap_bound doesn't contain CAP_SETPCAP which

Re: activating an unconfigured interface using /etc/network/interfaces...?

2003-07-24 Thread Keegan Quinn
Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command

Re: activating an unconfigured interface using /etc/network/interfaces...?

2003-07-24 Thread Matthew Whitworth
Complained, but worked: dumb:~# ifup eth1 SIOCSIFNETMASK: Cannot assign requested address dumb:~# ifconfig eth1 Link encap:Ethernet HWaddr 00:03:47:08:A5:44 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:133345 errors:0 dropped:0 overruns:0 frame:0