suse 11.3 kde 4.4.4
I dont remember what I did but when I restarted suse 11.3 a strange message just after the login and before the desktop was shown appeared, this:
warning cannot open consolekit session:
unable to open session:
the permission of the setuidhelper is not correct
and after the desktop was shown this other message:
org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct
Potresti non essere in grado di connetterti alla rete Bluetooth tramite questo computer
that in english is something like this:
It could be possible that you cannot connect to bluetooth network with this computer
You must enter the root user password after each command to allow it to function. You might want to try restarting your computer after the second command. Let us know if this did any good or not.
pla@linux-otqk:~> sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo: must be setuid root
so I tryed to accesss as su, and it gives me this:
pla@linux-otqk:~> su
Password:
su: impossibile impostare i gruppi: Operation not permitted
that in English is something like :
impossible to set groups: operation not permitted
I cannot access to Yast it say me that the password is wrong, of course it is correct
I can access to / without password and write on it
I think it could be a permission problem, so I made this ls -l / may be it helps you to help me
All those directories with mode 777 are not good. Either you have a serious disk error, or you followed some bad advice to chmod everything 777. This will muck up with programs that are paranoid and expect their files and directories to be only root accessible.
If you don’t have much data of value on the system, I would recommend a reinstall.
> On 2010-08-22 01:33, George Baltz wrote:
>> pier andreit wrote:
>
>> If I were you, I would do a complete, clean install - that’s the only way
>> to guarantee everything is back to reasonable security.
>
> Not really.
> You can run an rpm verify run, it would detect them all. See man rpm
>
> M Mode differs (includes permissions and file type)
>
> I vaguely remember some one creating a script to correct those
> permissions, using that info. In one of the opensuse mail lists time ago.
>
>
That might get the installed files/directories, but what about dynamically
created items like subdirectories in /var or /home(. files)?
On 2010-08-22 17:58, George Baltz wrote:
> Carlos E. R. wrote:
>> I vaguely remember some one creating a script to correct those
>> permissions, using that info. In one of the opensuse mail lists time ago.
>>
>>
> That might get the installed files/directories, but what about dynamically
> created items like subdirectories in /var or /home(. files)?
Mmm, yes.
Most directories under /var, or any other system directories, come from some rpm. Some are created
later by some script, those would be a problem. You could simply reinstall every rpm in the system,
that would force the issue.
Those under home are the responsibility of the respective owner :-p
Just solve each problem as it comes >:-)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
Yes, but if he determined the sub-folders were all 0777 in then wouldn’t it be easier to reinstall than trying to match rpm permissions to sub-folder permissions? Not only permissions but whatever he did might have changed ownership as well. Its a new install to a separate / (root) partition so the reinstall was a easier and I think safer choice.