summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-12-03 10:51:47 +0000
committerhubertf <hubertf>2002-12-03 10:51:47 +0000
commitbf3cbf9e873cfc7a0a3d1b13881b08f0ea134a93 (patch)
tree13dd8ff645914790aaa57b312aec6369256fb656 /Packages.txt
parent70cbbb944fd1561ea4e22d82643fce9869bae12e (diff)
downloadpkgsrc-bf3cbf9e873cfc7a0a3d1b13881b08f0ea134a93.tar.gz
document how to use sudo with pkgsrc
(for just-in-time-su(1) password caching)
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt
index 71bd4a994b2..c4948eb6dd8 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.272 2002/11/28 14:21:32 salo Exp $
+# $NetBSD: Packages.txt,v 1.273 2002/12/03 10:51:47 hubertf Exp $
###########################################################################
==========================
@@ -2435,6 +2435,19 @@ Makefile template files are fixed and point to the correct locale directories
details about ${PKGLOCALEDIR}. This functionality is buildlink2-only.
+ 10.30 Using 'sudo' with pkgsrc
+ ==============================
+
+When installing packages as non-root user and using the just-in-time
+su(1) feature of pkgsrc, it can become annoying to type in the root
+password for each required package installed. To avoid this, the sudo
+package can be used, which does password caching over a limited time.
+To use it, install sudo (either as binary package or from
+pkgsrc/security/sudo) and then put the following into your /etc/mk.conf:
+
+ SU_CMD=/usr/pkg/bin/sudo /bin/sh -c
+
+
11 Submitting & Committing
==========================