RasPiArduino icon indicating copy to clipboard operation
RasPiArduino copied to clipboard

my password wrong

Open dzyk opened this issue 7 years ago • 12 comments

i type password for scketch upload... its wrong? what? what default password for scketch upload?

i need default password for sketch upload

dzyk avatar Oct 03 '17 13:10 dzyk

https://imgur.com/E3IbKjz see screhshot

dzyk avatar Oct 03 '17 13:10 dzyk

uses root account so you must set the root password first if you have not done so

me-no-dev avatar Oct 04 '17 03:10 me-no-dev

root and user password wrong for upload((( i used it

dzyk avatar Oct 04 '17 06:10 dzyk

can you ssh root@raspberrypi-ip ? sudo and root passwords are two different things

me-no-dev avatar Oct 04 '17 06:10 me-no-dev

password for root and user identical

dzyk avatar Oct 04 '17 06:10 dzyk

So were you able to ssh as root to your pi? Or did you ssh as pi and then did sudo/su? Did you set the root password yourself? Did you make sure that in sshd.conf root logins are permitted? What did you really try?

me-no-dev avatar Oct 04 '17 07:10 me-no-dev

Password for pi@piduino:12345pass

Gain root permissions

sudo su

Enable password login for root

passwd

enter the new root password twice

--> change to 12345pass

dzyk avatar Oct 04 '17 07:10 dzyk

pi@piduino:/etc/ssh $ cat ssh_config

Host * SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes

dzyk avatar Oct 04 '17 13:10 dzyk

pi@piduino:/etc/ssh $ cat sshd_config
ChallengeResponseAuthentication no UsePAM yes X11Forwarding yes PrintMotd no AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server

dzyk avatar Oct 04 '17 13:10 dzyk

What can i do for change password?

dzyk avatar Oct 08 '17 13:10 dzyk

its a default for me(

dzyk avatar Oct 09 '17 16:10 dzyk

Hi, your password is right. If you get again and again pop up window for password, then problem is in command sed -i "s/PermitRootLogin without-password/PermitRootLogin yes/" /etc/ssh/sshd_config This command will permit root login, but if (in default) this option is remarked, then this command will change permit root login, but do not uncheck remark. Should be: sed -i "s/#PermitRootLogin without-password/PermitRootLogin yes/" /etc/ssh/sshd_config

martinnedopil avatar Mar 17 '18 10:03 martinnedopil