RE: [suse-security] Paranoid File Permissions
I haven't worked out why the login error occurs, but it is annoying. However, you can easily fix the su problem by editing the /etc/permissions.paranoid file and changing the value of /bin/su from 0755 to 4755 as shown below (this may have security implications for others!!): # suid system programs that need the suid bit to work: # /bin/su root:root 4755 Run "SuSEconfig" to update the file or change permissions manally. This at least will allow users to su to root. This was critical on a couple of boxes I had that were headless and keyboard-less, and root logins had been disabled! Bear in mind, any updates may change the value back. Cheers Ian -----Original Message----- From: White, Joseph [mailto:jwhite@sandia.gov] Sent: Thursday, April 21, 2005 8:28 AM To: suse-security@suse.com Subject: [suse-security] Paranoid File Permissions Hi All, Using Suse 9.2 /KDE w/GDM Has anyone noticed if you go into Yast and select security, then custom, and change file permissions from "Easy" to "Paranoid", once you do that you will not be able to unlock your screen saver or su to root. Also, if your logged in as a regular user and you launch Yast it will ask for you root password, probably just anther su function, but that won't work any longer as well. You have to log out and log back in as root to run Yast to undo the setting. It is probably messing with 'pam' in some strange way, but don't know exactly. Thanks, Joe -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
This at least will allow users to su to root. This was critical on a couple of boxes I had that were headless and keyboard-less, and root logins had been disabled! Bear in mind, any updates may change the value back.
--> That's why you should put such kind of changes into /etc/permissions.local This file will not be overwritten on updates and so your personal preferences are kept and used even when updating. Armin -- Am Hasenberg 26 office: Institut für Atmosphärenphysik D-18209 Bad Doberan Schloss-Straße 6 Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY Email: schoech@iap-kborn.de Tel. +49-(0)38293-68-102 WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50
Ian Douglas wrote:
I haven't worked out why the login error occurs, but it is annoying. However, you can easily fix the su problem by editing the /etc/permissions.paranoid file and changing the value of /bin/su from 0755 to 4755 as shown below (this may have security implications for others!!):
You do want to read the comments on top of each /etc/permissions* file first. cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/
participants (3)
-
Armin Schoech
-
Ian Douglas
-
Ludwig Nussel