Re: doas(1) throws a syntax error on a valid doas.conf

2016-01-28 Thread bian
I did, but must have made some mistake when doing so. Trying now it works as expected. Embarrassing. I'll be more careful. Thanks /birger On 2016-01-28 16:38, Nicholas Marriott wrote: Did you try this? permit keepenv { PKG_PATH ENV PS1 SSH_AUTH_SOCK } "as" permit "as" as root cmd /sbin/halt

Re: doas(1) throws a syntax error on a valid doas.conf

2016-01-28 Thread Nicholas Marriott
Did you try this? permit keepenv { PKG_PATH ENV PS1 SSH_AUTH_SOCK } "as" permit "as" as root cmd /sbin/halt On Thu, Jan 28, 2016 at 03:55:12PM +0100, bian wrote: > doas(1) throws a syntax error on what should be a valid doas.conf. There are > two users on this system -- as and aas. The examples

Re: doas(1) throws a syntax error on a valid doas.conf

2016-01-28 Thread Bryan Steele
On Thu, Jan 28, 2016 at 03:55:12PM +0100, bian wrote: > doas(1) throws a syntax error on what should be a valid doas.conf. There are > two users on this system -- as and aas. The examples below shows two valid > doas.conf with the respective output after running the command as the logged > in user.

doas(1) throws a syntax error on a valid doas.conf

2016-01-28 Thread bian
doas(1) throws a syntax error on what should be a valid doas.conf. There are two users on this system -- as and aas. The examples below shows two valid doas.conf with the respective output after running the command as the logged in user. The documentation doesn't indicate how to get around the