#1001636 doas: please ship a default config for sudo group

Package:
doas
Source:
doas
Description:
transitional package
Submitter:
Andreas Henriksson
Date:
2021-12-13 16:45:04 UTC
Severity:
wishlist
#1001636#5
Date:
2021-12-13 13:55:20 UTC
From:
To:
Dear Maintainer,

I've just tried doas for the first time. The package description led
me to believe it would work as a simple sudo replacement out of the box.

However:

```
doas: doas is not enabled, /etc/doas.conf: No such file or directory
```

Please ship a default configuration that is suitable for a good out
of the box behaviour on Debian in the Debian package. ie. permit
the sudo group to use doas.

I guess something like this would do (but I'm not familiar with
the config file syntax and options):

```
permit persist :sudo
```

(Also this file should ofcourse be marked as a conffile to preserve
modifications, which debhelper should do automatically for you. However
you might want to test extra carefully the case of first introducing the
file so that noones manually created config gets overwritten when you
introduce a default one.)

Regards,
Andreas Henriksson

#1001636#10
Date:
2021-12-13 16:43:07 UTC
From:
To:
Oh no please no.

It should ship with an empty conf.
Perhaps ad some example in the doas.conf?
Ala:

#permit persist :wheel cmd /usr/bin/apt

Just my thoughts.

Regards

Marc

#1001636#15
Date:
2021-12-13 16:43:07 UTC
From:
To:
Oh no please no.

It should ship with an empty conf.
Perhaps ad some example in the doas.conf?
Ala:

#permit persist :wheel cmd /usr/bin/apt

Just my thoughts.

Regards

Marc