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?

8
  • 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? Dec 21, 2017 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, 2017 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, 2017 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, 2017 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, 2017 at 16:27

1 Answer 1

-1

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

2
  • This won't work for me.
    – HippoDuck
    Aug 23, 2018 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.
    – HippoDuck
    Aug 28, 2018 at 9:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .