![]() |
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. |
All times are GMT. The time now is 23:00. |
vBulletin® Version 3.8.8