Jump to content

softy's script to install Syncthing changes user password, crashes after changing inotify


Recommended Posts

# ISSUE

* Using armbian-config -> softy -> install Syncthing fails after message saying settings for inotify are changing

* No further output

* Control-C returns control

 

However, my password was changed?!?

 

Just to make sure I wasn't going crazy I rebooted into SD card version of Armbian that was used to write to eMMC and confirmed my password is correct.

 

It appears the script to install Syncthing is changing my password so that I cannot use the system?!?

 

Link to comment
Share on other sites

I might be wrong that it's the Syncthing install that changes the password.

 

As part of the session, before using the Syncthing install option, I used the Samba install option which did ask me for my samba password. In my case, my samba password is not the same as my linux password. 

Here's part of the script for the samba install. It looks like the middle line is changing my linux password to my samba password which would cause the problem I saw.

 

```

useradd $SMBUSER
echo -ne "$SMBPASS\n$SMBPASS\n" | passwd $SMBUSER >/dev/null 2>&1
echo -ne "$SMBPASS\n$SMBPASS\n" | smbpasswd -a -s $SMBUSER >/dev/null 2>&1
```

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines