From f1069d3986eb3fbb4e9945ec669566efe5cb5cd7 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Thu, 24 Sep 2009 21:17:22 +0000 Subject: * pathexec_env.c, pathexec.h: add function pathexec_env_run(). * chpst.c, man/chpst.8: new option -b argv0: run prog with different 0th argument. --- man/chpst.8 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'man/chpst.8') diff --git a/man/chpst.8 b/man/chpst.8 index c67ec65..43c0b8d 100644 --- a/man/chpst.8 +++ b/man/chpst.8 @@ -8,6 +8,8 @@ chpst \- runs a program with a changed process state .IR user ] [\-U .IR user ] +[\-b +.IR argv0 ] [-e .IR dir ] [\-/ @@ -96,6 +98,14 @@ and arguments are interpreted as uid and gid respectivly, and not looked up in the password or group file. .TP +.B \-b \fIargv0 +argv0. +Run +.I prog +with +.I argv0 +as the 0th argument. +.TP .B \-e \fIdir envdir. Set various environment variables as specified by files in the directory -- cgit 1.4.1