Do you have the root password? If so you can su and then fix it. If not you should look up how to break in to a Linux system, which is usually a mod to the boot command. Search for single user mode. Probably you'll need a serial to USB cable for your board. If you messed up the image on the mmc instead you can boot off an SD card and then chroot to the emmc image and reset the root pass.
Next time you edit your sudoers file use the command visudo which will check that the file is valid prior to saving. Jim On Tue, Mar 19, 2019, 7:42 AM <[email protected] wrote: > Hi, > I did a some change in sudoers file, so i can not be root , i can not > use sudo or su > debian@beaglebone: sudo su - > sudo: >>> /etc/sudoers: syntax error near line 23 <<< > sudo: parse error in /etc/sudoers near line 23 > sudo: no valid sudoers sources found, quitting > sudo: unable to initialize policy plugin > > How can I correct this file ? > Thank You > > -- > 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/88e3e3b5-2619-4c3c-865a-30179b1ab62f%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/88e3e3b5-2619-4c3c-865a-30179b1ab62f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGS%2B2h8JV8Fk7R1dgSnht08MX5k8mCGEOCKkL2FtgCmTh7KzcQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
