Red Hat Bugzilla – Bug 243069
xterm installed setgid; environment whacked
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
xterm is installed setgid utempter. This means that any LD_CONFIG_PATH set in
a user's .profile or .bash_profile is destroyed.
Version-Release number of selected component (if applicable):
Add LD_LIBRARY_PATH=/some/path to .profile. Exec xterm from a login shell.
Steps to Reproduce:
$ tail -n2 .profile
$ (exec -l /bin/sh -c "env | grep LD")
$ (exec -l /bin/sh -c "exec xterm -geometry 80x24-0-0")
4. In new xterm window:
$ env | grep LD
In F7, this also affects Konsole.
This is related to Bug 164869.
xterm has to have utempter setgid since directory where the utempter binary is
located is accessible only to group utempter.
*** This bug has been marked as a duplicate of 229360 ***