一个关于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.
- Create /etc/permissions.local with an editor
- 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
- Save the file
- Run the command
SuSEconfig --module permissions
to activate the changes.
Alternative solution
Lower the file permissions to mode 'secure' with YaST2.
Additional Information
Root causeThis 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博客 ” ,链接:https://blog.itpub.net/24620620/viewspace-1054089/
,如需转载,请注明出处,否则将追究法律责任。