Jump to content


Photo

"passwd root" doesn't work?


  • Please log in to reply
10 replies to this topic

#1 kleinerjunge

  • Senior Member
  • 167 posts

+1
Neutral

Posted 13 January 2013 - 22:17

Hi!

Today I flashed a Vu+ Duo with the latest image (20130113) and wanted to change root password with command "passwd root" on telnet.

After I put and confirm the new password, I get out of the console and relogin to confirm the new pass, and I get into the box again without password!!

Is there a bug in latest firmware??

cu
KJ

Re: "passwd root" doesn't work? #2 littlesat

  • PLi® Core member
  • 56,290 posts

+691
Excellent

Posted 13 January 2013 - 22:38

Just use passwd

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: "passwd root" doesn't work? #3 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 14 January 2013 - 12:15

did you restore the /etc/passwd file from an old (2.x) backup?

we're using shadowed passwords in 3.0, so please make sure the root password field in /etc/passwd has en 'x' in the password field:

root:x:0:0:root:/home/root:/bin/sh

if that is the case, the passwd command should use the shadow file, and all should be fine.

EDIT: 'x' instead of empty password field

Edited by pieterg, 14 January 2013 - 12:17.


Re: "passwd root" doesn't work? #4 kleinerjunge

  • Senior Member
  • 167 posts

+1
Neutral

Posted 14 January 2013 - 18:19

Hi!

I didn't use any backuped files from an older image. I flashed the latest OpenPli and configured all from scratch.

I tried the command "passwd" (without root). It asks me again about the new pass and the confirmation. After typing all in, it tells me that password was changed, but it still doesn't work.

I took a look at the file /etc/passwd and I can see the "x" instead the empty password field, except for root!! For root there is nothing typed in ("::").

What am I doing wrong??

cu
KJ

Re: "passwd root" doesn't work? #5 fotjon

  • Senior Member
  • 162 posts

0
Neutral

Posted 14 January 2013 - 19:34

Hello,

I edited the first row on passwd file. I think I messed it up, then I re-typed it copying it from another box:
root:x:0:0:root:/home/root:/bin/sh

Still can't logon as root. Also used a plugin "setpassword" to change the root password, but it does not work even if you change the password there.

Xtrend ET-5000 // OpenPli 4


Re: "passwd root" doesn't work? #6 littlesat

  • PLi® Core member
  • 56,290 posts

+691
Excellent

Posted 14 January 2013 - 21:06

Login with telnet (not ssh) the first time....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: "passwd root" doesn't work? #7 fotjon

  • Senior Member
  • 162 posts

0
Neutral

Posted 14 January 2013 - 21:24

I used a plugin called john ripper password/cracker for enigma 2, and it cleared the root password. Then entered a new one through telnet.
Still I can not access the openwebif interface. It asks for a password which is not one of the one I have used previously.
Strangely even if I disable http authentication it still ask for the password. Or maybe I need to restart enigma for the change to take effect.

Attached Files


Xtrend ET-5000 // OpenPli 4


Re: "passwd root" doesn't work? #8 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 14 January 2013 - 21:32

Try to clear your browser history!

ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: "passwd root" doesn't work? #9 fotjon

  • Senior Member
  • 162 posts

0
Neutral

Posted 15 January 2013 - 18:15

Try to clear your browser history!


nah, things are not that simple in my case.

Restarted the box at night. Found out that I have no root password I set yesterday now, it simply logon with root username.
I set up a password with telnet, but it does not remember it. I can logon with username only

Xtrend ET-5000 // OpenPli 4


Re: "passwd root" doesn't work? #10 kleinerjunge

  • Senior Member
  • 167 posts

+1
Neutral

Posted 15 January 2013 - 18:37

Yes, same for me.

A bug?

cu
KJ

Re: "passwd root" doesn't work? #11 fotjon

  • Senior Member
  • 162 posts

0
Neutral

Posted 15 January 2013 - 22:12

As things got messed up, I did an image restore. The box failed to start the first time but I kept cool and just re-flashed it again. Now its ok.
I understood that with my current configuration I can log one by telnet with one password (I used a shorter one with 4 words) and for ssh I have to use another password (longer) which I should have set previously as I think I wanted to give access to the box to someone. Moral of the story - I better leave things as they are now :)

Xtrend ET-5000 // OpenPli 4



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users