Bug 218383 - /sbin/consoletype: Permission denied when logging in
Summary: /sbin/consoletype: Permission denied when logging in
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-04 22:40 UTC by Linda Knippers
Modified: 2014-03-17 03:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-04 23:15:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Linda Knippers 2006-12-04 22:40:08 UTC
Description of problem:
A regular user gets "/sbin/consoletype: Permission denied" when logging in.
The /etc/profile.d/lang.sh script wants to run the program but the 
permissions on the file are 500.  In RHEL4 the permissions are 755.

Version-Release number of selected component (if applicable):
I'm running the RHEL5 beta 2 with SELinux enabled and the MLS
policy from dwalsh's people page.

How reproducible:


Steps to Reproduce:
1.create a regular using (bash shell in my case)
2.log in
3.
  
Actual results:
-bash: /sbin/consoletype: Permission denied


Expected results:
no error

Additional info:
If I change the permissions it works of course.

Comment 1 Bill Nottingham 2006-12-04 23:02:54 UTC
I'm not seeing this - on all arches, /sbin/consoletype is 0755.

How did you install?

Comment 2 Linda Knippers 2006-12-04 23:09:50 UTC
I had a feeling it seemed too broken to not be noticed...

I installed using the kickstart script we're using for the LSPP
project and the script.
RPM download:
   http://klaus.vh.swiftco.net/lspp/SRPMS/
   http://klaus.vh.swiftco.net/lspp/RPMS/noarch/

Let me take a closer look at what its doing.  I hope I can find a log
somewhere.

Comment 3 Linda Knippers 2006-12-04 23:13:46 UTC
Well, I verified that the rpm thinks the permissions should be 755 so 
this must be a bug in the kickstart setup.  Sorry about that.  Shall I
just close the bug or do you want to?

Comment 4 Bill Nottingham 2006-12-04 23:15:09 UTC
I can.


Note You need to log in before you can comment on or make changes to this bug.