![]() |
I screwed up sudoers and I haven't root access (remote server).
This is the hard way to learn when you MUST use visudo, specially in a remote server. That's right. I did something stupid like:
Quote:
Quote:
As i said this is in a remote server (VPS) so I can not use recovering special tools via CD or similar. thanks.- |
no recovery mode or something like that?
the thing is that it supposed to be nothing that you can do if you do not have recovery terminal. |
You can boot from a recovery or live CD and try to fix the file. This should give you the idea: http://www.howtoforge.com/how-to-res...d-with-knoppix
|
Quote:
Quote:
|
Thanks for your answers.
Yes, I do not have physical access. I am thinking in trying code some simple routine (as I have ssh access as user at least ) using something like http://www.kernel.org/doc/man-pages/...etpwent.3.html Obviously I am not hurry and may be fun. Any idea to start? Thanks.- |
Update
What a odyssey! I was thinking in very rare things to solve this.
=== Solution: I have webmin installed. So as the root account WAS :) locked, I have another webmin user with access to all modules. Webmin > Users and Groups > root account > password: No password required === Can you believe it? |
no. thats too much luck for you :-D
|
Quote:
|
| All times are GMT +2. The time now is 03:00. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.