![]() |
sudo parse error in /etc/sudoers,,,,
I've edited file /etc/sudoers on N900 and now I receive this error:
sudo parse error in /etc/sudoers,,,, I 've not root access, no usb or wifi access. How can I do to solve this problems? Thanks a lot. |
Re: sudo parse error in /etc/sudoers,,,,
Quote:
it might help if you paste the contents of the file here... |
Re: sudo parse error in /etc/sudoers,,,,
I've edited the file with root access (sudo gainroot), after I've closed root session .....
|
Re: sudo parse error in /etc/sudoers,,,,
Quote:
Quote:
Incidentally, you shouldn't edit /etc/sudoers directly - you should create a new file (or edit an existing one) in /etc/sudoers.d and the run update-sudoers. That includes a check for correctness, so should prevent this from happening. If you do need to edit the file directly, use visudo which will, again, check the file before saving it. |
Re: sudo parse error in /etc/sudoers,,,,
+1 to R&D mode, tried it myself when i was stuck in the OP's situation.
|
Re: sudo parse error in /etc/sudoers,,,,
Could you explain to me what command I must launch?
flasher-3.5 --enable-rd-mode and after? Thanks a lot. |
Re: sudo parse error in /etc/sudoers,,,,
after that:
1. Boot normally 2. You'll be able to have root access 3. Revert your sudoers file 4. Restart and disable RD mode. :) |
Re: sudo parse error in /etc/sudoers,,,,
Quote:
|
Re: sudo parse error in /etc/sudoers,,,,
thanks a lot !!!!!
I try and I send to you the result. |
Re: sudo parse error in /etc/sudoers,,,,
What program did you use to edit the file?
You should only use 'vi' to edit the file (using the command 'visudo'), as other editors can give syntax errors. |
Re: sudo parse error in /etc/sudoers,,,,
I've used leafpad .... grrrrr
In futur I'll use visudo. Thanks. |
Re: sudo parse error in /etc/sudoers,,,,
Quote:
1. shutdown device 2. Press and hold down the 'u' key 3. Connect a USB cable between the Maemo device and host PC while holding down the 'u' key 4. When the USB cable is connected, it powers the Maemo device and sets it to flashing mode 5. When the USB icon appears in the upper right-hand corner, the Maemo device is in flashing mode 6. Release the 'u' key 7. flasher-3.5 --enable-rd-mode or flasher-3.5 --enable-rd-mode -R 8. Boot normally 9. You'll be able to have root access 10. Revert your sudoers file 11. shutdown device 12. Press and hold down the 'u' key 13. Connect a USB cable between the Maemo device and host PC while holding down the 'u' key 14. When the USB cable is connected, it powers the Maemo device and sets it to flashing mode 15. When the USB icon appears in the upper right-hand corner, the Maemo device is in flashing mode 16. Release the 'u' key 17. flasher-3.5 --disable-rd-mode or flasher-3.5 --disable-rd-mode -R I've a doubt, when I use flasher to set or unset R&D mode I must to use -R option? Are correct these instructions? Thanks a lot |
Re: sudo parse error in /etc/sudoers,,,,
Quote:
|
Re: sudo parse error in /etc/sudoers,,,,
Quote:
|
Re: sudo parse error in /etc/sudoers,,,,
Quote:
flasher-3.5 --enable-rd-mode flasher-3.5 --disable-rd-mode the N900 boot automatically? thanks a lot. |
Re: sudo parse error in /etc/sudoers,,,,
Quote:
|
Re: sudo parse error in /etc/sudoers,,,,
@facs, that's about it... hope it works out! :)
As Rob1n said visudo is not required if you know what you are doing. Visudo to be safe ;) |
Re: sudo parse error in /etc/sudoers,,,,
I've launched the command:
flasher-3.5 --enable-rd-mode I've opened a terminal but I haven't the root access... Could you help me? Thanks. |
Re: sudo parse error in /etc/sudoers,,,,
I've solved using command rootsh /bin/sh from terminal.
THANKS TO ALL FOR YOUR SUPPORT !!!!!!!!!!! YOU ARE VERY COMPETENT !!! Thanks a lot . |
All times are GMT. The time now is 19:00. |
vBulletin® Version 3.8.8