• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PAM Problem in FreeBSD 4.11 Plesk 8.0.1

J

jmhoms

Guest
Hi,

after upgrade to 8.0.1 from 7.5.4 in a FreeBSD 4.11 system with perl 5.8.8, i get the following error when trying to change a ftp password in the physical hosting setup :

Unable to create system user: usermng: PAM password change failed: 6, Permission denied

System error 2: No such file or directory

while in messages appears the following error :

usermng: no modules loaded for `passwd' service



Cheking the installation logs, i see the following warning :

autoinstaller3.log: Trying to install PAM module...
autoinstaller3.log:During the install PAM module not successed found some problems(see log file: /tmp/psa_8.0.1_FreeBSD_4.11_build80060615.20_installing.log)



The mail and ftp users seem to log in without problem with the old passwords, the issue is when trying to change it ...


any hint ?

Thanks !
 
note that i'm still able to change it via commandline's passwd due that ftp users are system users, but then is obviously not updated in the mysql psa tables.
 
did you ever find a resolution to this problem?

I have the following error:

Error: Unable to update hosting preferences: Unable to create system user: usermng: PAM password change failed: 1, dlopen() failure

System error 61: No data available
 
well,

the problem seems to be corrected issuing :

/usr/local/psa/pam_plesk_config/pam_plesk_install -f/etc/pam.conf -m/usr/local/psa/pam_plesk/pam_plesk.so -v

as suggested in :

http://kb.swsoft.com/article_16_1532_en.html


But the problem, persists in some way.

Now, i'm able to change ftp passwords with the control panel (they are changed in the mysql db), but the password of the system account doesnt change, and proftpd seems to use the system password to authenticate, so i must change manually the passwords with the passwd command in shell mode.

I tried to disable authpam as suggested in :

http://kb.swsoft.com/article_21_175_en.html

with no luck.


Maybe is a perms problem, seems that Plesk can't change the system passwords.

I tried to change the password with commandline usrmng utility, same effect that from control panel.

In the all.log we see :

Jan 15 19:19:51 sys usermng: Old password verification started for user user1
Jan 15 19:19:51 sys usermng: Plesk DB connection established successfully
Jan 15 19:19:51 sys usermng: Querying SELECT password, type FROM psa.accounts as a, psa.sys_users AS s WHERE a.id = s.account_id AND s.login='user1'
Jan 15 19:19:51 sys usermng: Connection to the Plesk DB closed
Jan 15 19:19:51 sys usermng: user's password='user12', passlen='6', type='plain'
Jan 15 19:19:51 sys usermng: _get_stacked_password(pamh, flags=8192, opts=8, type=6, &password)
Jan 15 19:19:51 sys usermng: Plesk DB connection established successfully
Jan 15 19:19:51 sys usermng: Querying SELECT psa.sys_users.account_id FROM psa.sys_users WHERE psa.sys_users.login = 'user1'
Jan 15 19:19:51 sys usermng: Querying UPDATE psa.accounts SET psa.accounts.password = 'user12', psa.accounts.type = 'plain' WHERE psa.accounts.id = '204'
Jan 15 19:19:51 sys usermng: Connection to the Plesk DB closed
Jan 15 19:19:51 sys usermng: Wrong number of updated passwords: 0, expected 1


Someone have any idea of what can be happening ?

Thanks !
 
Back
Top