I did the JB protocol on my iPhone 3G, installed mobile terminal and all of the BSD layer, along with sudo. However, whenever I try to use a command with the form "sudo XXX -X" in terminal, I get an error. The system prompts for a password, to which I reply 'alpine' but then it fails, claiming that user "mobile" is not in the sudoers file. Comically, it then says that "this attempted illegal access incident will be reported" (I'm shaking in my boots of my iPhone logging my 'leet haX0ring skillz).
The paradox here is that in order to add a user name to /etc/sudoers, one must be able to edit the file with sudo (sudo nano /etc/sudoers), which gets us to a catch-22. What gives? I don't really feel like messing with SSH, so is there any way of getting sudo to work using the mobile terminal alone?
The paradox here is that in order to add a user name to /etc/sudoers, one must be able to edit the file with sudo (sudo nano /etc/sudoers), which gets us to a catch-22. What gives? I don't really feel like messing with SSH, so is there any way of getting sudo to work using the mobile terminal alone?