From ee4e9c017ab815a0d034f69f785a0a61d8b7c13a Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 23 Aug 2019 23:17:43 +0000 Subject: [PATCH] fix typo in README and add pkgsrc. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bbd37c0..c84df45 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # doas A port of OpenBSD's doas which runs on FreeBSD, Linux and NetBSD -The doas utility is a program originally written for OpenBSD which allows a user to run a command as though they were another user. Typically doas is used to allow non-privleged users to run commands as though they were the root user. The doas program acts as an alternative to sudo, which is a popular method in the Linux ccommunity for granting admin access to specific users. +The doas utility is a program originally written for OpenBSD which allows a user to run a command as though they were another user. Typically doas is used to allow non-privleged users to run commands as though they were the root user. The doas program acts as an alternative to sudo, which is a popular method in the Linux community for granting admin access to specific users. The doas program offers two benefits over sudo: its configuration file has a simple syntax and it is smaller, requiring less effort to audit the code. This makes it harder for both admins and coders to make mistakes that potentially open security holes in the system. @@ -31,6 +31,13 @@ Note: The doas command is in FreeBSD's ports collection and may be installed by pkg install doas +Note: The doas command is in the pkgsrc collection and can be installed either via: + + cd /usr/pkgsrc/security/doas + make clean; make install + +or via binary package if available for your Operating System and architecture or port. + 3 - The doas configuration file is located at /usr/local/etc/doas.conf. To create a rule allowing a user to perform admin actions, add a line to the configuration file. Details on how to do this are covered in the doas.conf manual page. However, most of the time a rule is as simple as permit as root