diff options
author | hubertf <hubertf> | 2002-12-03 10:51:47 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-12-03 10:51:47 +0000 |
commit | cc5939a7541c55c9a94193d2f95b1b4c2d0fc418 (patch) | |
tree | 13dd8ff645914790aaa57b312aec6369256fb656 /Packages.txt | |
parent | 1d2b28102a0c2ac30c00ada2fb7b317fcf5e2cbf (diff) | |
download | pkgsrc-cc5939a7541c55c9a94193d2f95b1b4c2d0fc418.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.txt | 15 |
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 ========================== |