Bug 54946

Summary: /etc/security/pam_env.conf variables don't work correctly if i loginlocally
Product: [Retired] Red Hat Linux Reporter: Need Real Name <vincent>
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: nalin
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-23 16:50:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-10-23 15:57:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. install util_linux update
2. put "PAGER DEFAULT=less" in your /etc/security/pam_env.conf 
3. login locally (ttyx)
4. try to look to a manpage (eg. man man)
or
5. echo $PAGER
	

Actual Results:  sh: less!: command not found
Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 1100i"; /bin/gunzip -c
'/usr/share/man/man1/man.1.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/gtbl
| /usr/bin/nroff -mandoc | less!) exited with status 32512.
No manual entry for man

echo $PAGER
gives
less!
instead of just less

Expected Results:  i should see a manpager
$PAGER should be "less"
PAGER DEFAULT=/usr/bin/less

Additional info:

it's even worse if i set 

then $PAGER is some binary shit

Did you ever tried the package, before sending it out as an update?

Thanks,

Vincent

Comment 1 Elliot Lee 2001-10-23 16:50:50 UTC
I can reproduce it on 7.1 with util-linux-2.11f-11.7.1, but not 7.1 with
util-linux-2.10s-* nor on 7.2.
Things that you could try without any help would include updating to 7.2, or
updating your PAM package to the pam-0.75-14 in 7.2.

If the PAM update doesn't work for you, I will try to talk to the PAM packager
and find out what is up, and possibly get a fix into rawhide.

Comment 2 Elliot Lee 2002-01-04 19:29:04 UTC
No reply, and it works in latest release, so considering it fixed.