Access to NETMAP from c++ program

2019-11-19 Thread Slawa Olhovchenkov
Is this posible (now) for access to NETAMP from C++? I am see headers conflict: In file included from /usr/include/net/netmap_user.h:104: In file included from /usr/include/net/netmap.h:812: /usr/include/stdatomic.h:141:21: error: reference to 'memory_order' is ambiguous atomic_thread_fence(memory

Re: jexec as user?

2019-11-19 Thread Dewayne Geraghty
Good question Ronald. A test - I can login to jail (b3) where I run apache as www user, so # jexec -U www b3 /bin/tcsh > whoami; id www uid=80(www) gid=80(www) groups=80(www) Expected - good! and I can, in the host # su -m www -c "whoami; id" www uid=80(www) gid=80(www) groups=80(www) Good - so m

Re: jexec as user?

2019-11-19 Thread Miroslav Lachman
Christos Chatzaras wrote on 2019/11/19 14:09: On 19 Nov 2019, at 15:02, mike tancsa wrote: On 11/19/2019 6:42 AM, Ronald Klop wrote: Hi, Is it possible to jexec into a jail as a regular user. Or to enable that somewhere? Or is the way to do such a thing to set up ssh in the jail? On 11.3

Re: jexec as user?

2019-11-19 Thread Walter Cramer
On Tue, 19 Nov 2019, mike tancsa wrote: On 11/19/2019 8:09 AM, Christos Chatzaras wrote: On 19 Nov 2019, at 15:02, mike tancsa wrote: On 11/19/2019 6:42 AM, Ronald Klop wrote: Hi, Is it possible to jexec into a jail as a regular user. Or to enable that somewhere? Or is the way to do such a th

Re: jexec as user?

2019-11-19 Thread mike tancsa
On 11/19/2019 8:09 AM, Christos Chatzaras wrote: > On 19 Nov 2019, at 15:02, mike tancsa wrote: >> On 11/19/2019 6:42 AM, Ronald Klop wrote: >>> Hi, >>> >>> Is it possible to jexec into a jail as a regular user. Or to enable >>> that somewhere? >>> Or is the way to do such a thing to set up ssh in

Re: jexec as user?

2019-11-19 Thread Christos Chatzaras
> On 19 Nov 2019, at 15:02, mike tancsa wrote: > > On 11/19/2019 6:42 AM, Ronald Klop wrote: >> Hi, >> >> Is it possible to jexec into a jail as a regular user. Or to enable >> that somewhere? >> Or is the way to do such a thing to set up ssh in the jail? >> > On 11.3 at least, does not the

Re: jexec as user?

2019-11-19 Thread mike tancsa
On 11/19/2019 6:42 AM, Ronald Klop wrote: > Hi, > > Is it possible to jexec into a jail as a regular user. Or to enable > that somewhere? > Or is the way to do such a thing to set up ssh in the jail? > On 11.3 at least, does not the built in functionality of jexec do what you need ? jexec [-l] [-u

Re: jexec as user?

2019-11-19 Thread Christos Chatzaras
> Is it possible to jexec into a jail as a regular user. Or to enable that > somewhere? > Or is the way to do such a thing to set up ssh in the jail? I was searching few months ago the same and I think it's not possible. Maybe you can do it using sudo. ___

jexec as user?

2019-11-19 Thread Ronald Klop
Hi, Is it possible to jexec into a jail as a regular user. Or to enable that somewhere? Or is the way to do such a thing to set up ssh in the jail? Regards, Ronald. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo