aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo.1
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-29 17:58:46 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-29 17:58:46 -0500
commitfa580977cc4fa8b58a47c483c1a59df66645a120 (patch)
tree42e77c1592e7fa56af0df2d2b86f398a24e119ee /pseudo.1
parent2b57c61b7eeb203cfcda848cc93113ec39a639cc (diff)
downloadpseudo-fa580977cc4fa8b58a47c483c1a59df66645a120.tar.gz
pseudo-fa580977cc4fa8b58a47c483c1a59df66645a120.tar.bz2
pseudo-fa580977cc4fa8b58a47c483c1a59df66645a120.zip
Add password/group call emulation.
This is a first pass at handling password/group calls, allowing the use of custom password/group files. In particular, when chroot()ed to a particular directory, pseudo picks files in that directory by default, to improve support for the typical use case where pseudo uses chroot() only to jump into a virtual target filesystem.
Diffstat (limited to 'pseudo.1')
-rw-r--r--pseudo.117
1 files changed, 17 insertions, 0 deletions
diff --git a/pseudo.1 b/pseudo.1
index e2317f3..83d9fe7 100644
--- a/pseudo.1
+++ b/pseudo.1
@@ -303,6 +303,23 @@ to manually run things in the
.I pseudo
environment.
.TP 8
+.B PSEUDO_PASSWD
+This variable holds the path to a directory containing password and
+group files to use for emulation of various password and group routines.
+It should be the path to a directory containing the
+.I etc
+directory containing files named
+.IR passwd and group .
+When
+.I pseudo
+is emulating a
+.I chroot
+environment, the chroot directory is used by preference. The
+parallelism between these cases is why this variable points at
+the parent directory of
+.I etc
+rather than the directory containing the files.
+.TP 8
.B PSEUDO_PREFIX
If set, the variable
.B PSEUDO_PREFIX