Reply
Thread Tools
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#11
No, devel-su should work even after the update. What is disabled is doing: ssh root@localhost for example. Does devel-su fails for you (it should ask for root password and it should work, with whatever you set it to).

If you made some typo while changing the root password - try to figure out what it was, when devel-su asks you for it. Otherwise you might need to reflash it I'm afraid.

Last edited by shmerl; 2011-11-04 at 05:17.
 

The Following User Says Thank You to shmerl For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#12
in xterm i can do devel-su and it accepts my password, but how do I edit /etc/ssh/sshd_config and change "PermitRootLogin no" to "PermitRootLogin yes" afterwards? I cannot find an app to do this.

Thanks for your help BTW, its really appreciated!
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#13
HAHA!!!!!!!! MOFO! fixed it.........................


In xterm:
devel-su
[password]
cd /etc/ssh/
rm sshd_config
mv sshd_config.dpkg.old(?) sshd_config

then reboot


not 100% sure of the file I renamed, it was a backup of the old config file, made when the app was updated.
 
Posts: 136 | Thanked: 150 times | Joined on Dec 2010 @ Finland
#14
Originally Posted by F2thaK View Post
in xterm i can do devel-su and it accepts my password, but how do I edit /etc/ssh/sshd_config and change "PermitRootLogin no" to "PermitRootLogin yes" afterwards? I cannot find an app to do this.

Thanks for your help BTW, its really appreciated!
You can install nano from the Nokia store and then as root do

nano /etc/ssh/sshd_config

change the settings you want, for example:

change the port from 22 to something else if you want to enable access from 3G also.

select which IP addresses are allowed to connect.

disable password authentication to use only keybased authentication

enable root login again

etc..

ctrl+o to save, and ctrl+x to quit nano
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#15
I tried nano, i couldnt figure out how to edit files though
 
Posts: 136 | Thanked: 150 times | Joined on Dec 2010 @ Finland
#16
Originally Posted by F2thaK View Post
I tried nano, i couldnt figure out how to edit files though
how did you try to use it?
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#17
I didnt know how to use it
 
Posts: 136 | Thanked: 150 times | Joined on Dec 2010 @ Finland
#18
Originally Posted by F2thaK View Post
I didnt know how to use it
1. open xterm
2. devel-su and then your root password
3. in xterm as root: nano /etc/ssh/sshd_config

then use the arrowkeys on the virtualkeyboard to navigate the file, and modify any settings you want.

once done, ctrl+o and enter saves the file
ctrl+x closes nano

try that
 

The Following User Says Thank You to mooglez For This Useful Post:
biatch0's Avatar
Posts: 226 | Thanked: 195 times | Joined on Nov 2009 @ Malaysia
#19
Or use "vi" - comes installed by default.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#20
ive sorted my prob, thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:24.