parse error in /etc/sudoers near line

31 views
Skip to first unread message

zoro

unread,
Mar 1, 2015, 12:12:28 PM3/1/15
to beagl...@googlegroups.com
Hi,

i am trying to enable P9_22 as a PWM Output, and i try to pass two seperate overlays to the cape manager:

/lib/fimrware$ sudo sh -c "echo bone_pwm_P9_22 > $SLOTS"
/lib/fimrware$ sudo sh -c "echo am33xx_pwm > $SLOTS"
/lib/fimrware$ cat $SLOTS


but after the first line i always get the error message:

sudo: parse error in /etc/sudoers near line 11
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

and i dont know how to fix it. 

/lib/firmware$ ls           looks like this:

ADAFRUIT-SPI0-00A0.dtbo       RTL8192SU                           cape-bone-dvi-00A1.dtbo
ADAFRUIT-SPI1-00A0.dtbo       TT3201-001-01.dtbo                  cape-bone-dvi-00A2.dtbo
ADAFRUIT-UART1-00A0.dtbo      am335x-pm-firmware.bin              cape-bone-exptest-00A0.dtbo
ADAFRUIT-UART2-00A0.dtbo      am33xx_pwm-00A0.dtbo                cape-bone-geiger-00A0.dtbo
ADAFRUIT-UART4-00A0.dtbo      atmel_at76c502-wpa.bin              cape-bone-hexy-00A0.dtbo
ADAFRUIT-UART5-00A0.dtbo      atmel_at76c502.bin                  cape-bone-ibb-00A0.dtbo
BB-ADC-00A0.dtbo              atmel_at76c502_3com-wpa.bin         cape-bone-iio-00A0.dtbo
BB-BONE-AUDI-01-00A0.dtbo     atmel_at76c502_3com.bin             cape-bone-lcd3-00A0.dtbo
BB-BONE-BACON-00A0.dtbo       atmel_at76c502d-wpa.bin             cape-bone-lcd3-00A2.dtbo
BB-BONE-BACONE-00A0.dtbo      atmel_at76c502d.bin                 cape-bone-mrf24j40-00A0.dtbo
BB-BONE-BACONE2-00A0.dtbo     atmel_at76c502e-wpa.bin             cape-bone-nixie-00A0.dtbo
BB-BONE-CAM-VVDN-00A0.dtbo    atmel_at76c502e.bin                 cape-bone-pinmux-test-00A0.dtbo
BB-BONE-CAM3-01-00A2.dtbo     atmel_at76c503-i3861.bin            cape-bone-proto-00A0.dtbo
BB-BONE-CRYPTO-00A0.dtbo      atmel_at76c503-i3863.bin            cape-bone-replicape-00A2.dtbo
BB-BONE-GPEVT-00A0.dtbo       atmel_at76c503-rfmd-0.90.2-140.bin  cape-bone-replicape-00A3.dtbo
BB-BONE-GPS-00A0.dtbo         atmel_at76c503-rfmd-acc.bin         cape-bone-tester-00A0.dtbo
BB-BONE-LCD4-01-00A0.dtbo     atmel_at76c503-rfmd.bin             cape-bone-weather-00A0.dtbo
BB-BONE-LCD4-01-00A1.dtbo     atmel_at76c504.bin                  cape-bone-weather-00B0.dtbo
BB-BONE-LCD7-01-00A2.dtbo     atmel_at76c504_2958-wpa.bin         cape-boneblack-hdmi-00A0.dtbo
BB-BONE-LCD7-01-00A3.dtbo     atmel_at76c504a_2958-wpa.bin        cape-boneblack-hdmin-00A0.dtbo
BB-BONE-LCD7-01-00A4.dtbo     atmel_at76c504c-wpa.bin             cape-univ-emmc-00A0.dtbo
BB-BONE-PRU-01-00A0.dtbo      atmel_at76c505-rfmd.bin             cape-universal-00A0.dtbo
BB-BONE-PRU-02-00A0.dtbo      atmel_at76c505-rfmd2958.bin         cape-universaln-00A0.dtbo
BB-BONE-PRU-03-00A0.dtbo      atmel_at76c505a-rfmd2958.bin        carl9170-1.fw
BB-BONE-PRU-04-00A0.dtbo      atmel_at76c506-wpa.bin              duty
BB-BONE-PWMT-00A0.dtbo        atmel_at76c506.bin                  htc_9271.fw
BB-BONE-RS232-00A0.dtbo       bone_pwm_P8_13-00A0.dtbo            lbtf_usb.bin
BB-BONE-RST-00A0.dtbo         bone_pwm_P8_19-00A0.dtbo            libertas
BB-BONE-RST2-00A0.dtbo        bone_pwm_P8_34-00A0.dtbo            libertas_cs.fw
BB-BONE-RTC-00A0.dtbo         bone_pwm_P8_36-00A0.dtbo            libertas_cs_helper.fw
BB-BONE-SERL-01-00A1.dtbo     bone_pwm_P8_45-00A0.dtbo            mwl8k
BB-BONE-SERL-03-00A1.dtbo     bone_pwm_P8_46-00A0.dtbo            period
BB-BONE-eMMC1-01-00A0.dtbo    bone_pwm_P9_14-00A0.dtbo            rt2561.bin
BB-BONELT-BT-00A0.dtbo        bone_pwm_P9_16-00A0.dtbo            rt2561s.bin
BB-GPIOHELP-00A0.dtbo         bone_pwm_P9_21-00A0.dtbo            rt2661.bin
BB-I2C1-00A0.dtbo             bone_pwm_P9_22-00A0.dtbo            rt2860.bin
BB-I2C1A1-00A0.dtbo           bone_pwm_P9_28-00A0.dtbo            rt2870.bin
BB-SPIDEV0-00A0.dtbo          bone_pwm_P9_29-00A0.dtbo            rt3070.bin
BB-SPIDEV1-00A0.dtbo          bone_pwm_P9_31-00A0.dtbo            rt3071.bin
BB-SPIDEV1A1-00A0.dtbo        bone_pwm_P9_42-00A0.dtbo            rt3090.bin
BB-UART1-00A0.dtbo            brcm                                rt73.bin
BB-UART2-00A0.dtbo            bspm_P9_14_f-00A0.dtbo              rtl_nic
BB-UART2-RTSCTS-00A0.dtbo     bspm_P9_14_f-00A0.dts               rtlwifi
BB-UART4-00A0.dtbo            bspwm_P9_14_e-00A0.dtbo             run
BB-UART4-RTSCTS-00A0.dtbo     bspwm_P9_14_e-00A0.dts              sd8385.bin
BB-UART5-00A0.dtbo            cape-CBB-Serial-r01.dtbo            sd8385_helper.bin
DNIL-AMPCAPE-1-00R1.dtbo      cape-bebopr-R2.dtbo                 sd8686.bin
EBB-GPIO-Example-00A0.dtbo    cape-bebopr-brdg-R2.dtbo            sd8686_helper.bin
LICENCE.atheros_firmware      cape-bebopr-ena-R2.dtbo             sd8688.bin
LICENCE.broadcom_bcm43xx      cape-bone-2g-emmc1.dtbo             sd8688_helper.bin
LICENCE.rtlwifi_firmware.txt  cape-bone-adafruit-lcd-00A0.dtbo    ti-connectivity
LICENCE.ti-connectivity       cape-bone-argus-00A0.dtbo           usb8388.bin
RTL8192E                      cape-bone-dvi-00A0.dtbo             zd1211




Pls help me.


Regards

zoro

Pankhuri Vanjani

unread,
Dec 27, 2017, 1:40:29 PM12/27/17
to BeagleBoard
hey
I am also getting he same error.Were you able to solve it?

Dennis Lee Bieber

unread,
Dec 27, 2017, 1:56:40 PM12/27/17
to beagl...@googlegroups.com
On Wed, 27 Dec 2017 10:40:29 -0800 (PST), Pankhuri Vanjani
<16ue...@lnmiit.ac.in> declaimed the following:

>hey
>I am also getting he same error.Were you able to solve it?
>
>On Sunday, March 1, 2015 at 10:42:28 PM UTC+5:30, zoro wrote:
>>

You are responding to a nearly three year old post -- the original
poster may not even be following this anymore.

>> Hi,
>>
>> i am trying to enable P9_22 as a PWM Output, and i try to pass two
>> seperate overlays to the cape manager:
>>
>> /lib/fimrware$ sudo sh -c "echo bone_pwm_P9_22 > $SLOTS"
>> /lib/fimrware$ sudo sh -c "echo am33xx_pwm > $SLOTS"
>> /lib/fimrware$ cat $SLOTS
>>
>>
>> but after the first line i always get the error message:
>>
>> sudo: parse error in /etc/sudoers near line 11
>> sudo: no valid sudoers sources found, quitting
>> sudo: unable to initialize policy plugin
>>

Have you examined the sudoers file mentioned in the error message --
and compare the contents with documentation?

man sudoers
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Reply all
Reply to author
Forward
0 new messages