> sudo: /etc/sudoers is world writable This appears to be your basic problem. The file /etc/sudoers says which users are allowed to use sudo to perform system activities. However, the file is "world writable," which means that anyone could go in there and add themselves to the list. So sudo is not allowing _anybody_ to do system administration.
If you can figure out a way to change the permissions on that file, you should be in an improved position. You might try booting from an SD card and changing the permission on the copy of /etc/sudoers that's on the MMC, or if you're already booting from an SD card, you might be able to put that card in a different Linux computer and change the permissions from there. Can you post the output of "ls -l /etc"? That might help (especially the line for sudoers, but maybe there are widespread permission problems in /etc ?) On Wednesday, July 22, 2020 at 11:19:32 AM UTC-7 [email protected] wrote: > Hi, > > i tried the command > > debian@beaglebone:/etc$ sudo apt-get install -y policykit-1-gnome > sudo: /etc/sudoers is world writable > sudo: no valid sudoers sources found, quitting > sudo: unable to initialize policy plugin > > whats the soluion? should i copy the .img file again and reboot? > > > > On Wednesday, July 22, 2020 at 12:06:29 PM UTC-6, jonnymo wrote: > >> Looks like you posted this twice. >> >> Did you make a change to your sudoers file? If not, then have you tried >> changing to root via "sudo su -" ? >> >> As far as the install issue, you need to run that with sudo when running >> as the debian user: >> Ex: >> *sudo apt-get install -y policykit-1-gnome* >> >> >> Cheers, >> >> Jon >> >> On Wed, Jul 22, 2020 at 10:59 AM jayasudhaa t.n <[email protected]> >> wrote: >> > when i execute sudo syscheck , >>> i get the following: >>> sudo: /etc/sudoers is world writable >>> sudo: no valid sudoers sources found, quitting >>> sudo: unable to initialize policy plugin >>> >>> tried resolving using bash pkexec: pkexec: command not found >>> >>> not able to install policy kit , i get error as below: >>> >>> debian@beaglebone:/etc$ apt-get install -y policykit-1-gnome. >>> E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: >>> Permission denied) >>> E: Unable to acquire the dpkg frontend lock >>> (/var/lib/dpkg/lock-frontend), are you root? >>> >>> kindly help. very urgent. >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >> >> >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/beagleboard/4241d5ce-fd8e-4f0a-a3dd-5144a92ab391o%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/beagleboard/4241d5ce-fd8e-4f0a-a3dd-5144a92ab391o%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/249e052e-a8ae-4c4d-bcae-5167b8ef2a88n%40googlegroups.com.
