From: Rommel R. T. <rom...@na...> - 2017-12-20 16:57:39
|
<div dir='auto'><div><br><div><br><div class="elided-text">El dic. 19, 2017 7:30 PM, Ted Hatfield <te...@io...> escribió:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">On Tue, 19 Dec 2017, Rommel Rodriguez Toirac wrote: <br> > Rommel, <br> > <br> > It appears that you will need to compile the chpasswd.c source code <br> > included with the plugin. If the date on the webpage is accurate the <br> > chpasswd executable included with the plugin was last compiled in Apr 23, <br> > 2004. <br> > <br> > The error message you are getting <br> > <br> > ./chpasswd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory <br> > <br> > tells us that the software was compiled on a machine that doesn't match <br> > yours for library compability. <br> > <br> > The problem of course is that centos 7 doesn't include gcc by default. <br> > You will need to install the build/development tools for centos 7 before <br> > you can attempt to compile the chpasswd.c program. <br> > <br> > A quick google search came up with this page. <br> > <br> > https://www.digitalocean.com/community/tutorials/how-to-compile-and-install-packages-from-source-using-make-on-a-vps <br> > <br> > Or <br> > <br> > https://www.cyberciti.biz/faq/centos-rhel-7-redhat-linux-install-gcc-compiler-development-tools/ <br> > <br> > I hope this helps. <br> > <br> > If nothing else you can ask the maintainer/developer Paul Lesniewski to <br> > see if he can include a newer compiled binary in the package specifically <br> > for centos 7. <br> > <br> > Ted Hatfield <br> > ----------------------------------------------------------------------------- <br> > <br> > <br> > Thank for answer me Ted. I will study how to compile the chpasswd.c and let you know how it was. <br> > I wrote already to Paul Lesniewski and he let me know that the best help is with the mailing list. Also tell me that there <br> > is a new version of the plugin but not released yet. <br> > <br> > Rommel Rodriguez Toirac <br> > <br> > Hello; <br> > in the file chpasswd.c are some example of how to compile it. <br> > I use the two examples an get a file generate of name chpasswd. <br> > When make the test it do not work correctly at all. Allways said: "Current password is incorrect" <br> > and do not chage the password. <br> > But, the error of the "Access to a shared library corrupted" is not showed, it detect when the user is incorrect, when the new <br> > password do not match in the 'Confirm' step. <br> > So, now I have another problem, the plugin always say "Current password is incorrect" <br> > <br> > Rommel Rodriguez Toirac <br> > <br> > <br> > <br> <br> Rommel, <br> <br> In an effort to assist you I have built a centos7 virtual machine. <br> <br> I installed the development tools and compiled the chpasswd.c software. <br> Although it compiled I couldn't get it to work properly. <br> <br> However I did follow the instructions here <br> <br> https://www.rootlinks.net/2017/03/21/install-poppassd-on-centos-7/ <br> <br> and I was able to get a popassd daemon running on centos 7 with very <br> little effort. <br> <br> I would again recommend running the change password plugin here. <br> <br> http://www.squirrelmail.org/plugin_view.php?id=21 <br> <br> I hope this helps. <br> <br> Ted Hatfield<br> ------------------------------------------------------------------------------ <br></p></blockquote></div></div></div><div dir="auto"> Thank Ted.</div><div dir="auto">I will work around the pluging with popassd. </div><div dir="auto"> I write you if I have any problem with it.</div><div dir="auto"> Thank.</div><div dir="auto"><div><div class="elided-text"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Rommel Rodriguez Toirac</p></blockquote></div></div></div></div> |