Re: Unexpected behavior in su/doas

2016-10-02 Thread Tinker
On 2016-10-02 18:14, Chris Bennett wrote: On Sun, Oct 02, 2016 at 01:03:28AM -0700, Philip Guenther wrote: On Sun, Oct 2, 2016 at 12:35 AM, Otto Moerbeek wrote: > On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > >> On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo

Re: Unexpected behavior in su/doas

2016-10-02 Thread Chris Bennett
On Sun, Oct 02, 2016 at 01:03:28AM -0700, Philip Guenther wrote: > On Sun, Oct 2, 2016 at 12:35 AM, Otto Moerbeek wrote: > > On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > > > >> On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: > >> > Use of su,

Re: Unexpected behavior in su/doas

2016-10-02 Thread Lampshade
> > This is just one mechanism on tty, there are others. On other > > descriptors there are other abilities. > > > > Would you mind explaining this a little bit. I don't really mean the > sudo/doas part. > > How to do operations without retaining access to a tty? > > What other descriptors?

Re: Unexpected behavior in su/doas

2016-10-02 Thread Philip Guenther
On Sun, Oct 2, 2016 at 12:35 AM, Otto Moerbeek wrote: > On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > >> On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: >> > Use of su, doas, or sudo -- means you EXPLICITLY want the tty to >> > remain the same. >>

Re: Unexpected behavior in su/doas

2016-10-02 Thread Otto Moerbeek
On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: > > Use of su, doas, or sudo -- means you EXPLICITLY want the tty to > > remain the same. > > > > De-escalation using these "sudo" or "doas" like tools on a tty is > >

Re: Unexpected behavior in su/doas

2016-10-02 Thread Otto Moerbeek
On Sun, Oct 02, 2016 at 07:10:12AM +0200, Sebastien Marie wrote: > On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > > On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: > > > Use of su, doas, or sudo -- means you EXPLICITLY want the tty to > > > remain the same. > > >

Re: Unexpected behavior in su/doas

2016-10-01 Thread Sebastien Marie
On Sat, Oct 01, 2016 at 05:15:31PM -0500, Chris Bennett wrote: > On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: > > Use of su, doas, or sudo -- means you EXPLICITLY want the tty to > > remain the same. > > > > De-escalation using these "sudo" or "doas" like tools on a tty is > >

Re: Unexpected behavior in su/doas

2016-10-01 Thread Chris Bennett
On Sat, Oct 01, 2016 at 03:54:40PM -0600, Theo de Raadt wrote: > Use of su, doas, or sudo -- means you EXPLICITLY want the tty to > remain the same. > > De-escalation using these "sudo" or "doas" like tools on a tty is > somewhat unsafe - it has always been unsafe - because tty's have >