aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-07-20 19:35:41 -0500
committerJesús <heckyel@hyperbola.info>2020-07-20 19:35:41 -0500
commite40a285f5475101ffcb86550599cb991c5bf44b1 (patch)
treed35c00d94367d7e87173a0bbcce03c6730e6f7d4
parent5d336e5e6a9362059c4d8923288f06eeadf8d1c2 (diff)
downloadbook-e40a285f5475101ffcb86550599cb991c5bf44b1.tar.lz
book-e40a285f5475101ffcb86550599cb991c5bf44b1.tar.xz
book-e40a285f5475101ffcb86550599cb991c5bf44b1.zip
Update command privileges in libretools (closes #13)
-rw-r--r--libretools/README.md40
1 files changed, 30 insertions, 10 deletions
diff --git a/libretools/README.md b/libretools/README.md
index 776837d..eabcc68 100644
--- a/libretools/README.md
+++ b/libretools/README.md
@@ -14,35 +14,35 @@
### Limpiar librechroot
- sudo librechroot clean-repo
+ doas librechroot clean-repo
### Construir entornos:
- sudo librechroot -A x86_64 -n x86_64 make
+ doas librechroot -A x86_64 -n x86_64 make
- sudo librechroot -A i686 -n i686 make
+ doas librechroot -A i686 -n i686 make
### Entrar a la Jaula
- sudo librechroot -n x86_64 enter
+ doas librechroot -n x86_64 enter
- sudo librechroot -n i686 enter
+ doas librechroot -n i686 enter
### Compilar:
- sudo libremakepkg -n x86_64
+ doas libremakepkg -n x86_64
- sudo libremakepkg -n i686
+ doas libremakepkg -n i686
### Actualizar jaula
- sudo librechroot update
+ doas librechroot update
- sudo librechroot -n i686 update
+ doas librechroot -n i686 update
### Habilitanado internet durante la compilación
- sudo libremakepkg -N
+ doas libremakepkg -N
### Subiendo paquete
@@ -57,3 +57,23 @@
> <grupo> repo en donde poner el paquete ej. core, extra, community
librerelease
+
+### Example config doas
+
+ $ doas nano -w /etc/doas.conf
+
+```
+## doas configuration file.
+##
+## See the doas man page for the details on how to write a configuration file.
+##
+
+## Allow members of group wheel to execute any command
+# permit :wheel
+
+## Same thing without a password
+permit nopass :wheel
+
+## Allow tedu to run procmap as root without a password
+#permit nopass tedu as root cmd /usr/sbin/procmap
+```