Wednesday, October 31, 2018

Re: syntax error and doas.conf

Hi


Am 31.10.2018 um 10:52 schrieb Consus:
> Well, that's why we have sudoedit. With doas your are forced to
>
> $ doas cp -p /etc/doas.conf /etc/doas.conf.new
> $ doas vi /etc/doas.conf.new
> $ doas -C /etc/doas.conf.new
> $ doas mv /etc/doas.conf.new /etc/doas.conf
>
yeah and by default there is no sudo package installed or is it (at
least it isnt in the 6.x releases if I remember right)?!  Just try a
sudoedit on a fresh install and see if it works. As fas as I understand
the doas approach its there to provide a simple way of archiving things like

sudo /do/this/cmd

because 99% of the time you only need root priv to do something like
that. So some very nice guy, I think is name is Ted, thought "hey lets
simplify it and skip all the heavy stuff that sudo brings along". At
least I imagine he thought something like that :)

regard

--
Markus Rosjat fon: +49 351 8107224 mail: rosjat@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220 fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you print it, think about your responsibility and commitment to the ENVIRONMENT

No comments:

Post a Comment