From a7cab66ce12794b875438d6557684427569dd2de Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Wed, 13 Aug 2008 12:56:00 +0000 Subject: [PATCH] mention that DISPLAY and XAUTHORITY envvars are preserved for pam_xauth in su -l (#450505) --- coreutils-pam.patch | 9 +++++++++ coreutils.spec | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/coreutils-pam.patch b/coreutils-pam.patch index 8593ecc..7774cf6 100644 --- a/coreutils-pam.patch +++ b/coreutils-pam.patch @@ -361,6 +361,15 @@ The program accepts the following options. Also see @ref{Common options}. +@@ -12815,6 +12815,8 @@ + @env{PATH} to a compiled-in default value. Change to @var{user}'s home + directory. Prepend @samp{-} to the shell's name, intended to make it + read its login startup file(s). ++Additionaly @env{DISPLAY} and @env{XAUTHORITY} environment variables ++are preserved as well for PAM functionality. + + @item -m + @itemx -p @@ -13477,33 +13480,6 @@ the exit status of the subshell otherwise @end display diff --git a/coreutils.spec b/coreutils.spec index ba70832..206d022 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -329,6 +329,10 @@ fi /sbin/runuser %changelog +* Wed Aug 13 2008 Ondrej Vasik - 6.12-9 +- mention that DISPLAY and XAUTHORITY envvars are preserved + for pam_xauth in su -l (#450505) + * Mon Aug 04 2008 Kamil Dudka - 6.12-8 - ls -U1 now uses constant memory