Re: doas -s as a login shell

2015-08-11 Thread trondd
On Sun, August 9, 2015 11:24 pm, Philip Guenther wrote: > > If you're asking for sudo's -i option, sorry, we're out of option > space in doas. sudo is over there --> ports > > > Philip Guenther > That's fair. It's easy enough to work around. Tim.

Re: doas -s as a login shell

2015-08-09 Thread Philip Guenther
[I really do need a gmail extension to unbind control-return] On Sun, Aug 9, 2015 at 8:22 PM, Philip Guenther wrote: > On Sun, Aug 9, 2015 at 6:23 PM, trondd wrote: >> Was it a choice to not have 'doas -s' launch the shell as a login shell? That's what sudo -s does, yes? If you're asking for s

Re: doas -s as a login shell

2015-08-09 Thread Philip Guenther
On Sun, Aug 9, 2015 at 6:23 PM, trondd wrote: > Was it a choice to not have 'doas -s' launch the shell as a login shell? > Doing so reloads profiles preserving aliases and prompt variables. > > If a user is allowed to run the shell, the user can source the profile > anyway, so this is just a con

doas -s as a login shell

2015-08-09 Thread trondd
Was it a choice to not have 'doas -s' launch the shell as a login shell? Doing so reloads profiles preserving aliases and prompt variables. If a user is allowed to run the shell, the user can source the profile anyway, so this is just a convenience. Is there a security risk I'm missing? Ti