diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-12-03 10:51:47 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-12-03 10:51:47 +0000 |
commit | 5f9789300a3ae8568ef04dd4a178c992113eb7a6 (patch) | |
tree | 13dd8ff645914790aaa57b312aec6369256fb656 | |
parent | df4c71b31158ce9847fa0febf4731d3a10ca9ba9 (diff) | |
download | pkgsrc-5f9789300a3ae8568ef04dd4a178c992113eb7a6.tar.gz |
document how to use sudo with pkgsrc
(for just-in-time-su(1) password caching)
-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 ========================== |