Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 04-07-2004, 11:00 AM   #1
LQ Newbie
Registered: Apr 2004
Location: London
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Unable to logon on as non-root user after update as unable to set executable context

After running a 'yum update' this morning, I am now no longer able to logon using my user account. I installed Fedora 2 test 1 and this is the first update I have run.

When I try and logon (using gdm) I get a window managerless dialog box saying, "Error! Unable to set executable context". I can logon as root, but not as anyone else. I have tried creating a new account and the same happens.

As root I can 'su' to my non-root users as long as I select 'n' when it asks 'Would you like to enter a security context?'

Searching on google suggest that this is something to do with SELinux, as there are a few hits in source code (for example: ttps://

Anyone have any ideas? Your help is much appreciated.
Old 04-07-2004, 12:40 PM   #2
Registered: Sep 2003
Location: Ca
Distribution: Fedora, RH 7.1-9.0
Posts: 68

Rep: Reputation: 15
Either update to the latest SELinux packages available in Rawhide (the FC2 development tree) or disable SELinux. You should actually update to the test2 base as well, its housed in the 1.91 directories on the mirrors.

To disable SELinux for a temporary fix, add this to your grub.conf on the 'kernel' boot parameter line (where you see the root=LABEL=/).

Also, you should edit /etc/sysconfig/selinux (create this file if it is not present) and change:

The correct long term fix is to update the SELinux packages and relabel your filesystem with:
fixfiles relabel

The packages that need to be updated are, policy, policy-sources, setools, setools-gui, and anything that is needed for dependencies on the new packages.

Last edited by LordMorgul; 04-07-2004 at 12:43 PM.
Old 04-09-2004, 11:41 AM   #3
LQ Newbie
Registered: Apr 2004
Location: London
Distribution: Fedora
Posts: 4

Original Poster
Rep: Reputation: 0

Thanks. Disabling SELinux worked, so I updated and relabeled using 'make relabel' and that seems to have fixed my problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set password for user Harlin Linux - General 2 09-20-2005 01:25 PM
unable to install LILO nor set root password aquilolumen Slackware - Installation 10 07-07-2005 01:15 PM
unable to startx as non-root user raska Slackware 7 11-22-2004 06:41 PM
Root user unable to rm, mv or chmod Zoar Linux - Newbie 2 06-16-2004 10:23 PM
unable to set a site root directory in apache wendallsan Linux - Software 2 09-25-2003 05:50 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration