You are not logged in.

#1 2015-11-28 18:12:45

kalimerox
Member
Registered: 2015-10-02
Posts: 19

root privileges messed up , what to do? [solved]

Hi there,

I did a pretty stupid thing, so a little embarassed writing this down: Because I wanted to read write into the bunsen labs home folder from another distro on the same laptop, I unfortunately changed the user privileges of the whole bunsen labs partition to read write to the owner, group and everyone ;( any idea if i can fix this again? or better reinstall?   so when i want to do sudo now i get this

sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins


thank you! smile

Last edited by kalimerox (2015-12-02 10:03:30)

Offline

#2 2015-11-28 19:14:27

kalimerox
Member
Registered: 2015-10-02
Posts: 19

Re: root privileges messed up , what to do? [solved]

it seems I have at least found a partial solution here

http://askubuntu.com/questions/304212/h … d-writable

Offline

#3 2015-11-28 21:01:24

pressanykey
New Member
Registered: 2015-11-16
Posts: 4

Re: root privileges messed up , what to do? [solved]

I've used synaptic to reinstall every installed package in the past with success. But, I'm not sure if that will get the permissions reset on /var, /proc, etc. Maybe if you reinstall on top of your partition without first formatting, and then reinstall all of your packages as above, it might salvage your your data.

Good luck. But probably, the best route is to reinstall. RW by all is insecure.


Compaq Presario AMD Athlon Dual Core Processor 4450e
32/64 bit (dualarch) / 2.8 GB mem / Belkin N300 Wifi USB
NVIDIA C61 [GeForce 6150SE nForce 430]
Integrated Realtek ALC888 Audio

Offline

#4 2015-11-29 12:42:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: root privileges messed up , what to do? [solved]

I once chown'd my entire root filesystem to my normal user and managed to recover it but it was very messy.

I think you should just re-install.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2015-12-02 10:03:07

kalimerox
Member
Registered: 2015-10-02
Posts: 19

Re: root privileges messed up , what to do? [solved]

Hi guys, thanks for the advice, I ll do that!

Offline

Board footer

Powered by FluxBB