Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify plugin: not possible to install with changed user password #43

Open
pagnotta opened this issue Jan 29, 2017 · 8 comments
Open

Comments

@pagnotta
Copy link

After having changed the default password for the user volumio it is not possible to install the spotify plugin anymore. What I get in journalctl is

Jan 29 10:41:20 volumio volumio[919]: info: Downloading plugin at http://volumio.github.io/volumio-plugins/plugins/volumio/armhf/music_service/spotify/spotify.zip
Jan 29 10:41:21 volumio volumio[919]: info: END DOWNLOAD: http://volumio.github.io/volumio-plugins/plugins/volumio/armhf/music_service/spotify/spotify.zip
Jan 29 10:41:24 volumio volumio[919]: info: Checking if plugin already exists
Jan 29 10:41:24 volumio volumio[919]: info: Rename folder
Jan 29 10:41:25 volumio volumio[919]: info: Move to category
Jan 29 10:41:25 volumio volumio[919]: info: Checking if install.sh is present
Jan 29 10:41:25 volumio volumio[919]: info: Executing install.sh
Jan 29 10:41:25 volumio sudo[1135]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=volumio rhost=  user=volumio
Jan 29 10:41:28 volumio sudo[1135]: pam_unix(sudo:auth): conversation failed
Jan 29 10:41:28 volumio sudo[1135]: pam_unix(sudo:auth): auth could not identify password for [volumio]
Jan 29 10:41:28 volumio sudo[1135]: volumio : 1 incorrect password attempt ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /data/plugins//music_service/spop/install.sh
Jan 29 10:41:28 volumio volumio[919]: [sudo] password for volumio: Sorry, try again.
Jan 29 10:41:28 volumio volumio[919]: [sudo] password for volumio:
Jan 29 10:41:28 volumio volumio[919]: sudo: 1 incorrect password attempt
Jan 29 10:41:28 volumio volumio[919]: info: Install script return the error Error: Command failed: echo volumio | sudo -S sh /data/plugins//music_service/spop/install.sh > /tmp/installog
Jan 29 10:41:28 volumio volumio[919]: [sudo] password for volumio: Sorry, try again.
Jan 29 10:41:28 volumio volumio[919]: [sudo] password for volumio:
Jan 29 10:41:28 volumio volumio[919]: sudo: 1 incorrect password attempt
Jan 29 10:41:28 volumio volumio[919]: info: An error occurred installing the plugin. Rolling back config

When trying to revert to the old password using passwd it is rejected since it is "too simple".

So I had to do sudo passwd volumio to revert to the old password. Then installation of the spotify plugin worked.

@marianol
Copy link

+1 on this issue.

Had to do the same to install the plugin. As a possible fic you can have the UI ask for the password on install

@fanthore
Copy link

Same issue with Youtube plugin install

@crisp00
Copy link
Collaborator

crisp00 commented Jun 20, 2017

Aww snap, I'll look into that

@WoBBeLnl
Copy link

Any news on this issue? Is there any place this "volumio" password is hardcoded?

Simple work around: change password back to "volumio"

@dhoffend
Copy link

One workaround would be disallow the "volumio" user to connect via SSH (sshd_config). Then you can keep your default password and be secure.

Disable SSH via WebUI is useless if you can enable it again without any form of authentication

@volumio
Copy link
Owner

volumio commented Jun 27, 2017

You know that this is a great idea!!! We could create a different volumio user (say volumiod) to handle all the installations that require sudo privileges...

@mbrennwa
Copy link

mbrennwa commented Apr 7, 2018

This issue is still present in the current version of Volumio (2.389). You should not expect users to leave the volumio user password at the default setting. Users may want to change the password for security reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants