0

Had a trouble with transmission daemon's permission. It keeps using default debian-transmission even after editing /etc/init.d/transmission-daemon. So I edited the /etc/passwd and set 0:0 to debian-transmission. And now I can't login to the pi.

What did I do wrong?

  • 2
    "set 0:0 to debian-transmission" – Do you mean there's no root in /etc/passwd anymore? Or there's root and debian-transmission and they both have 0:0 associated? – "I can't login" – Directly or via SSH, or how? As root or debian-transmission, or another user? Was the OS rebooted afterwards or not? Is there a login prompt at all? Any error message? – Kamil Maciorowski Dec 21 '17 at 23:56
  • Can you show us the debian-transmission line in you /etc/password. Can you details what you mean by "I can't login". Is it regardless the user ? – vera Dec 22 '17 at 8:05
  • @KamilMaciorowski there was a root on the top. Now they both 0:0. Both. Can't login via SSH or directly. It keeps saying password is incorrect. Yes OS was rebooted one time. Also no error message. – Lifevence Dec 22 '17 at 14:10
  • @vera Can't show it to you because can't login to the pi. It keeps saying password is incorrect. – Lifevence Dec 22 '17 at 14:12
  • 1
    @vera Problem solved. Adding init=/bin/sh in the cmdline.txt makes pi start as single user mode so that you can change the user passwords. – Lifevence Dec 22 '17 at 16:27
-1

Adding init=/bin/sh in the cmdline.txt makes pi start as single user mode so that you can change the user password.

  • This won't work for me. – user2924019 Aug 23 '18 at 21:35
  • To add to this, I got it working, but no one has made it clear that it doesn't go on a new line. It should simply go on the end of the first line with just a space separating the last command. This worked. – user2924019 Aug 28 '18 at 9:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.