Page 1 of 1

New user created but new user not able to login

Posted: Sun Jan 16, 2022 6:32 pm
by birender
Hi,

We are using the latest Version:1.0.0 (Amd64) Release:5

All existing users which are form old version ae able to login but new users created after upgrade not able to login.

OS Debian 11

what can be the issue rest the things working perfectly.

Re: New user created but new user not able to login

Posted: Tue Jan 25, 2022 1:47 pm
by birender
when checking password with...

/usr/local/vesta/bin/v-check-user-password demo Demo123

Getting below error.

/usr/local/vesta/bin/v-check-user-password: line 64: [: y: integer expression expected
/usr/local/vesta/bin/v-check-user-password: line 66: [: y: integer expression expected
Error: password missmatch

password is correct only but still showing password missmatch what will be the problem.

Re: New user created but new user not able to login

Posted: Wed Jan 26, 2022 7:57 pm
by sandro
This error is a bug in the script.

Need to check with Vesta developers to fix this or if you know shell script programming then you can try to solve it.

As I'm using version 0.9.8, I don't know how to help you with this.

Re: New user created but new user not able to login

Posted: Mon Jan 31, 2022 10:33 am
by clementishutin
Is there a newer version available? if so then do start using that one to avoid this bug.

Re: New user created but new user not able to login

Posted: Tue Feb 01, 2022 8:09 am
by eris
birender wrote:
Tue Jan 25, 2022 1:47 pm
when checking password with...

/usr/local/vesta/bin/v-check-user-password demo Demo123

Getting below error.

/usr/local/vesta/bin/v-check-user-password: line 64: [: y: integer expression expected
/usr/local/vesta/bin/v-check-user-password: line 66: [: y: integer expression expected
Error: password missmatch

password is correct only but still showing password missmatch what will be the problem.
Disable yescrypt in

/etc/pam.d/common-password

make sure the line looks like:

password [success=1 default=ignore] pam_unix.so obscure sha512

It is probally currently like:

password [success=1 default=ignore] pam_unix.so obscure yescrypt

Re: New user created but new user not able to login

Posted: Thu Feb 03, 2022 10:33 am
by birender
eris wrote:
Tue Feb 01, 2022 8:09 am
birender wrote:
Tue Jan 25, 2022 1:47 pm
when checking password with...

/usr/local/vesta/bin/v-check-user-password demo Demo123

Getting below error.

/usr/local/vesta/bin/v-check-user-password: line 64: [: y: integer expression expected
/usr/local/vesta/bin/v-check-user-password: line 66: [: y: integer expression expected
Error: password missmatch

password is correct only but still showing password missmatch what will be the problem.
Disable yescrypt in

/etc/pam.d/common-password

make sure the line looks like:

password [success=1 default=ignore] pam_unix.so obscure sha512

It is probally currently like:

password [success=1 default=ignore] pam_unix.so obscure yescrypt
It worked thanks