rohithgrandhi / droidsshd

Automatically exported from code.google.com/p/droidsshd
0 stars 0 forks source link

won't start as root #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I don't get it.  Starting the program in usermode works, but when connecting 
with ssh it says "Attempt to write login records by non-root user (aborting)"

Starting the program as root doesn't work, because it says "started" for a 
split second and then goes back to stopped.  My phone is rooted, but no message 
ever pops up notifying me that droidsshd requested root permission

Original issue reported on code.google.com by dirtbike...@gmail.com on 31 Dec 2010 at 1:27

GoogleCodeExporter commented 9 years ago
I had the same issue. I played around a lot, now it works. I have a Motorola 
Milestone with Android 2.1 and Superuser v2.2.2.

I can not remeber what step exactly brought me root sshd, but I tried the 
following.
- manually adding an entry to Superuser database for droidsshd
- playing around with chmod, chmod 04755 or chmod 06755 for the droidssdh 
binaries
- i copied also some binaries from dropbear4android to /system/xbin, now also 
scp and sftp works fine

Original comment by s3.hu...@gmail.com on 3 Jan 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Can you please try v0.6 and let us know if the problem still persists? Thanks!

Original comment by augu...@bott.com.br on 19 Jan 2011 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by augu...@bott.com.br on 19 Jan 2011 at 11:46

GoogleCodeExporter commented 9 years ago
It works with v0.6 (but it did already with v0.5 after some workarounds on my 
phone). I uninstalled v0.5, then installed v0.6 and changed the paths to 
/system/bin where my original binaries are, and it works. But I can not 
definitely say if it would work out of the box on a plain rooted Android phone.
But now on my Linux machine I can not connect via sftp. scp works. Can you 
please add a binary for sftp directly in droidsshd?

Thank you for this awesome app!

Original comment by s3.hu...@gmail.com on 20 Jan 2011 at 5:50

GoogleCodeExporter commented 9 years ago
Glad to hear it. Regarding SFTP support, please have a look at issue #1:
http://code.google.com/p/droidsshd/issues/detail?id=1
Cheers!

Original comment by augu...@bott.com.br on 20 Jan 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Issue 5 has been merged into this issue.

Original comment by augu...@bott.com.br on 20 Jan 2011 at 6:12