Active Topics

 


Reply
Thread Tools
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#1
I have set the password as user in X-terminal. Then I use winscp login, connected. However, when I edit a file outside MyDocs, it said permission denied

how to solve? many thanks
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#2
Login to n900 with winscp as root.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#3
n900?
I mean n9
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#4
you need to be logged as Root to be able to edit most of the files, you need to enable root login via ssh,

Pre PR1.1

1. open xterm
2. devel-su [enter] then your root password [enter]
3. nano /etc/ssh/sshd_config

then use the arrowkeys on the virtualkeyboard to navigate the file to "Authentication" section and change 'permitRootLogin' to yes

Code:
# Authentication:
PermitRootLogin yes
once done, ctrl+o then enter saves the file
ctrl+x closes Nano
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#5
I done this already
but when i edit the file through winscp, after edited , then save, it ask me password , then it said permission denied
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#6
hmm, yes please solution to this, i get same error also :/
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#7
you cant get root access via ssh.
use putty with mc =)
 
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#8
I figured it out allready, had to reboot doh haha
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:59.