doas

  1. NapoleonWils0n

    doas tips - sudo alternative

    Some tips on using doas the sudo alternative ported from Openbsd install doas # pkg install doas Create the doas config file # vi /usr/local/etc/doas.conf The username and groups follow the chown syntax, ther username or group is preceded by the : colon character eg :username :groupname...
  2. NapoleonWils0n

    doas - sudo alternative

    doas is a sudo alternative ported from openbsd install doas # pkg install doas create the doas config file # vi /usr/local/etc/doas.conf add the following code to the doas.conf file permit nopass keepenv :wheel permit nopass keepenv root as root make sure your user is in the wheel group...
  3. A

    Solved security/doas can't work with zsh alias

    % cat /usr/local/etc/doas.conf permit nopass keepenv fbsd as root permit nopass keepenv root as root % id -nu fbsd % doas id -nu root % echo $SHELL /usr/local/bin/zsh % doas echo $SHELL /usr/local/bin/zsh % alias vi=vim % doas alias % % doas -s # alias vi=vim As this shows, doas doesn't know...
  4. N

    Port of OpenBSD's doas

    Last year the OpenBSD developers created an alternative to "sudo" called "doas". The doas program has a simpler configuration file and is quite small, keeping the code tiny and, one hopes, secure. I have ported the OpenBSD 5.9 version of doas over to FreeBSD 10.3 (with a lot of help from the...
Top