Thread
:
Can't gain root anymore: Syntax error line 65 parse error
View Single Post
qwerty12
2008-12-29 , 14:18
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#
3
If you have openssh-server installed, you can do 'ssh root@127.0.0.1' to get a root shell.
If you have rootsh installed, you can do 'rootsh /bin/sh'. This will allow you to get access to your sudoers (as 'user' can't even read it) and fix it.
BTW: Use visudo in future to edit sudoers. If you don't like vi, run it like this: "EDITOR=<favourite editor> visudo'
Quote & Reply
|
The Following User Says Thank You to qwerty12 For This Useful Post:
lma
qwerty12
View Public Profile
Find all posts by qwerty12