diff options
author | Adrian Vovk <adrianvovk@gmail.com> | 2022-05-02 16:53:43 +0000 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2022-05-02 16:53:43 +0000 |
commit | af533784a33040ce91b03744c6fd5ba9aff3e007 (patch) | |
tree | 1220cdcb2c8827c42c4efe699f847bf52442f093 /docs | |
parent | 74164aaf5a266c3f8a2527e60ecf29afa294b791 (diff) |
pkexec: Don't chdir(~)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/man/pkexec.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/man/pkexec.xml b/docs/man/pkexec.xml index eda9841..013b56d 100644 --- a/docs/man/pkexec.xml +++ b/docs/man/pkexec.xml @@ -31,6 +31,9 @@ <cmdsynopsis> <command>pkexec</command> + <arg choise="plain"> + <option>--keep-cwd</option> + </arg> <group> <arg choice="plain"> <option>--user</option> @@ -107,6 +110,12 @@ </para> <para> + <command>pkexec</command> will run <replaceable>PROGRAM</replaceable> + in <replaceable>username</replaceable>'s home directory, unless + <option>--keep-cwd</option> is used to override this behavior + </para> + + <para> Note that <command>pkexec</command> does no validation of the <replaceable>ARGUMENTS</replaceable> passed to <replaceable>PROGRAM</replaceable>. In the normal case (where |