YaST2 error: (gnomesu): CRITICAL **: There are no services for 'libgnomesu' available.

potoo發表於2011-08-20

一個關於SUSElinux10 的一個錯誤的解決辦法。

[@more@]
This document (7000691) is provided subject to the disclaimer at the end of this document.

Environment

Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Real Time
Novell Open Enterprise Server 2

Situation

When running YaST2 either from the GNOME or KDE panel or in a shell using the command 'yast2' the following error is experienced
** (gnomesu:7186): CRITICAL **: There are no services for 'libgnomesu' available.

Resolution

Solution

Create /etc/permissions.local and state the permissions for the files that need to be adjusted.
  1. Create /etc/permissions.local with an editor
  2. State access permissions within the file in the following way:
    FILE (including full path) USER:GROUP PERMISSIONS, e.g.
    /usr/lib/libgnomesu/gnomesu-pam-backend  root:root 4755
  3. Save the file
  4. Run the command

    SuSEconfig --module permissions

    to activate the changes.

Alternative solution

Lower the file permissions to mode 'secure' with YaST2.

Additional Information

Root cause

This issue is caused by wrong access permissions of the file /opt/gnome/lib/libgnomesu/gnomesu-pam-backend. These are usually set to '-rwsr-xr-x' (note the 's' for SUID) or 4755 but in case the file permission have been altered and set to mode 'paranoid' using the YaST2 security module, the new settings will be '-rwxr-xr-x' or 0755.

Additional NotesPermissions stated in /etc/permissions.local are used for all security levels. If a certain permission should only be set when the system is in a special permissions mode, files in /etc/permissions.d/ are more suitable. Create them with a name like foo.paranoid and the settings will only be used when the system is set to have 'paranoid' file permissions. Same is valid for easy, local or secure mode.


Document

Document ID:7000691
Creation Date:06-17-2008
Modified Date:12-24-2008
Novell Product:SUSE Linux Enterprise Real Time
Novell Product:SUSE Linux Enterprise Server

Disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24620620/viewspace-1054089/,如需轉載,請註明出處,否則將追究法律責任。

相關文章