Etc sudo conf is world writable
Distrobox container : sudo: /etc/sudo.conf is world writable
rialu1
Hello,
Using MicroOs immutable
No problem with root access by su
Problem is : when i enter a distrobox container, su is not working as ; I cannot access to root permission within a container, wathever the os
Knowing the environnment is immutable … i cannot apply classical solution
Any idea ?
sfalken2
is rw on MicroOS, just change the permissions on the file
rialu3
marel4
On which file:
For “world writeable”:
redhat.com
Linux file permissions explained
File permissions are core to the security model used by Linux systems. They determine who can access files and directories on a system and how. This article ...
world == others
system Closed 5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
Resetting Sudo???
Hey all,
I started using Linux about 4 months ago, and while I've made it for quite a while without any issues I believe that I have finally ended up in a bad spot. I had a program that needed file permissions for a certain file folder of mine. (This program is fine by the way, not malware). Being new to linux, I didn't realize what trouble changing file permissions can cause, and accidentally changed something in /etc... As you can imagine this messed things up pretty bad and I had many issues including not being able to connect to the internet.
I looked around the web for a solution, and found this: https://forums.linuxmint.com/viewtopic.php?t=219721
The first command in the solution for setting /usr and everything in it to read-only worked and now I have internet on my pc again! However, I've had trouble with the next command since I have dnf: su -c "apt-get install --reinstall sudo"
Is there a way to do this on Fedora? I haven't been able to find a reinstall command for dnf. Currently if I try to get sudo to do anything, I get this:
sudo: /etc/sudo.conf is world writable
sudo: /etc/sudo.conf is world writable
sudo:
Ubuntu - Can I resolve this issue "sudo: /etc/sudoers.d is world writable" by updating my ubuntu from 16.04 to 18.04?
Upgrade to 18.04 probably won't help.
Upgrade is performed by changing package repositories to newer ones and installing new set of packages. Some packages will remain, though, and may still have broken permissions.
The only safe method of restoring this system is wiping it clean and installing from scratch. Unless you have backups, of course, but if you had, you wouldn't be asking this question.
The lesson to learn here is that you should be making regular backups.
answered Nov 29, 2018 at 8:17
gronostajgronostaj
58.6k2121 gold badges133133 silver badges190190 bronze badges
Pihole won't save Settings -> sudo: /etc/sudo.conf is world writable
DirtyPants1
Hi!
Fairly new to Docker. Was running Pihole and unbound (mvance) on a Raspi since three years now without any problems. My old NAS died an I bought mysel a Qnap. Now I wanted to setup Pihole and unbound on the NAS, so I don't need two devices.
I installed Pihole and unbound through portainer and everything works except, I can't save any settings. I tried to set the unbound IP as my upstream DNS and it says saved, but it doesn't. I checked the Log through portainer and saw this entry:
I tried to find a solution somewhere, but I'm not sure, how to set the right permissions. Can anyone here help me out with the command to solve this issue? Don't want to try something and crash my permissions on the NAS accidentally.
thanks a lot for your help in advance
Greetings!
Ray24042
Hey,
I’ve had the same issue yesterday. For me those errors always appeared in my log when I tried changing dns settings. I’ve tried countless ways to reconfigure and reclaim the folders but nothing worked.
I’ve done a „sudo apt-get install --reinstall docker-ce“ and I recreated my PiHole container after