|
From: Matheus L. <gui...@gm...> - 2008-08-07 23:08:34
|
I have installed the change_passwd plugin, but it doesn't work. So a tried to run the chpasswd as below: $squirrelmail/plugins/change_passwd# ./chpasswd but it return the message: bash: ./chpasswd: No such file or directory Its importante to show the file permissions: $ls -la chpasswd -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd The group "www-data" is the group used by the apache, but I belive that's not a problem, because I'm trying to use the command as root first. Then, I send this same file to another server "not a ubuntu server", that is a slack. And tried to run it. And wokrs perfectly. So, whats the problem, how can I fix it? PS.: If its importante the server is a 64 bit ubuntu. |
|
From: MrC <lis...@ca...> - 2008-08-07 23:38:18
|
Matheus Lima wrote: > I have installed the change_passwd plugin, but it doesn't work. So a tried > to run the chpasswd as below: > > $squirrelmail/plugins/change_passwd# ./chpasswd > > but it return the message: > bash: ./chpasswd: No such file or directory This ENOENT error can occur when you don't have the 32-bit compatibility libraries and you're running on a 64-bit system. I see below you are on a 64-bit system. Install the libraries. > Its importante to show the file permissions: > $ls -la chpasswd > -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd > > The group "www-data" is the group used by the apache, but I belive that's > not a problem, because I'm trying to use the command as root first. > > Then, I send this same file to another server "not a ubuntu server", that is > a slack. And tried to run it. > And wokrs perfectly. > > So, whats the problem, how can I fix it? > > PS.: If its importante the server is a 64 bit ubuntu. |
|
From: Matheus L. <gui...@gm...> - 2008-08-08 00:03:51
|
Which libraries are you talking about? How do I find them? How do I install them? There is a way I can do this with apt-get? 2008/8/7 MrC <lis...@ca...> > Matheus Lima wrote: > > I have installed the change_passwd plugin, but it doesn't work. So a > tried > > to run the chpasswd as below: > > > > $squirrelmail/plugins/change_passwd# ./chpasswd > > > > but it return the message: > > bash: ./chpasswd: No such file or directory > > This ENOENT error can occur when you don't have the 32-bit compatibility > libraries and you're running on a 64-bit system. I see below you are on > a 64-bit system. Install the libraries. > > > Its importante to show the file permissions: > > $ls -la chpasswd > > -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd > > > > The group "www-data" is the group used by the apache, but I belive that's > > not a problem, because I'm trying to use the command as root first. > > > > Then, I send this same file to another server "not a ubuntu server", that > is > > a slack. And tried to run it. > > And wokrs perfectly. > > > > So, whats the problem, how can I fix it? > > > > PS.: If its importante the server is a 64 bit ubuntu. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > |
|
From: MrC <lis...@ca...> - 2008-08-08 01:58:11
|
>> Matheus Lima wrote: >>> I have installed the change_passwd plugin, but it doesn't work. So a >> tried >>> to run the chpasswd as below: >>> >>> $squirrelmail/plugins/change_passwd# ./chpasswd >>> >>> but it return the message: >>> bash: ./chpasswd: No such file or directory > 2008/8/7 MrC wrote: >> This ENOENT error can occur when you don't have the 32-bit compatibility >> libraries and you're running on a 64-bit system. I see below you are on >> a 64-bit system. Install the libraries. >> >>> Its importante to show the file permissions: >>> $ls -la chpasswd >>> -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd >>> >>> The group "www-data" is the group used by the apache, but I belive that's >>> not a problem, because I'm trying to use the command as root first. >>> >>> Then, I send this same file to another server "not a ubuntu server", that >> is >>> a slack. And tried to run it. >>> And wokrs perfectly. >>> >>> So, whats the problem, how can I fix it? >>> >>> PS.: If its importante the server is a 64 bit ubuntu. Matheus Lima wrote: > Which libraries are you talking about? How do I find them? How do I install > them? > There is a way I can do this with apt-get? I'm not at a system where I can check, but I believe it is: libc6-i686 So, this should work (warning - untested!) apt-get install libc6-i686 Since this isn't a squirrelmail issue, let's take this offlist if there are further issues, or take it to the Ubuntu forum. |
|
From: Urs M. <new...@bf...> - 2008-08-08 06:08:55
|
Am Fr, 8.08.2008, 03:58, schrieb MrC:
>
>>> Matheus Lima wrote:
>>>> I have installed the change_passwd plugin, but it doesn't work. So a
>>> tried
>>>> to run the chpasswd as below:
>>>>
>>>> $squirrelmail/plugins/change_passwd# ./chpasswd
>>>>
>>>> but it return the message:
>>>> bash: ./chpasswd: No such file or directory
He should check first, which libraries are linked into chpasswd:
mail: # ldd chpasswd
linux-gate.so.1 => (0xffffe000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f21000)
libc.so.6 => /lib/libc.so.6 (0xb7e00000)
/lib/ld-linux.so.2 (0xb7f5a000)
That's my chpasswd on a old SuSE.
>> 2008/8/7 MrC wrote:
>>> This ENOENT error can occur when you don't have the 32-bit
>>> compatibility
>>> libraries and you're running on a 64-bit system. I see below you are
>>> on
>>> a 64-bit system. Install the libraries.
>>>
>>>> Its importante to show the file permissions:
>>>> $ls -la chpasswd
>>>> -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd
>>>>
>>>> The group "www-data" is the group used by the apache, but I belive
>>>> that's
>>>> not a problem, because I'm trying to use the command as root first.
>>>>
>>>> Then, I send this same file to another server "not a ubuntu server",
>>>> that
>>> is
>>>> a slack. And tried to run it.
>>>> And wokrs perfectly.
>>>>
>>>> So, whats the problem, how can I fix it?
>>>>
>>>> PS.: If its importante the server is a 64 bit ubuntu.
>
> Matheus Lima wrote:
>> Which libraries are you talking about? How do I find them? How do I
> install
>> them?
>> There is a way I can do this with apt-get?
>
> I'm not at a system where I can check, but I believe it is:
>
> libc6-i686
-> Isn't this the 64Bit libc6?
> Since this isn't a squirrelmail issue, let's take this offlist if there
> are further issues, or take it to the Ubuntu forum.
I agree...
|
|
From: Matheus L. <gui...@gm...> - 2008-08-08 19:10:08
|
I'm sorry, but if someone could help in this issue I apreciate:
I've tryed:
On FEDORA 64bit
ldd chpasswd
(0xffffe000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00cb6000)
libc.so.6 => /lib/libc.so.6 (0x00723000)
/lib/ld-linux.so.2 (0x00706000) <---- Seems to me OK!!! :)
But...
On Ubuntu 64 bit
#ldd chpasswd
not a dynamic executable <---- Holy shit!!! THATs MY PROBLEM
HELP!!!!
2008/8/8 Urs Mueller <new...@bf...>
> Am Fr, 8.08.2008, 03:58, schrieb MrC:
> >
> >>> Matheus Lima wrote:
> >>>> I have installed the change_passwd plugin, but it doesn't work. So a
> >>> tried
> >>>> to run the chpasswd as below:
> >>>>
> >>>> $squirrelmail/plugins/change_passwd# ./chpasswd
> >>>>
> >>>> but it return the message:
> >>>> bash: ./chpasswd: No such file or directory
>
> He should check first, which libraries are linked into chpasswd:
>
> mail: # ldd chpasswd
> linux-gate.so.1 => (0xffffe000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f21000)
> libc.so.6 => /lib/libc.so.6 (0xb7e00000)
> /lib/ld-linux.so.2 (0xb7f5a000)
> That's my chpasswd on a old SuSE.
>
> >> 2008/8/7 MrC wrote:
> >>> This ENOENT error can occur when you don't have the 32-bit
> >>> compatibility
> >>> libraries and you're running on a 64-bit system. I see below you are
> >>> on
> >>> a 64-bit system. Install the libraries.
> >>>
> >>>> Its importante to show the file permissions:
> >>>> $ls -la chpasswd
> >>>> -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd
> >>>>
> >>>> The group "www-data" is the group used by the apache, but I belive
> >>>> that's
> >>>> not a problem, because I'm trying to use the command as root first.
> >>>>
> >>>> Then, I send this same file to another server "not a ubuntu server",
> >>>> that
> >>> is
> >>>> a slack. And tried to run it.
> >>>> And wokrs perfectly.
> >>>>
> >>>> So, whats the problem, how can I fix it?
> >>>>
> >>>> PS.: If its importante the server is a 64 bit ubuntu.
> >
> > Matheus Lima wrote:
> >> Which libraries are you talking about? How do I find them? How do I
> > install
> >> them?
> >> There is a way I can do this with apt-get?
> >
> > I'm not at a system where I can check, but I believe it is:
> >
> > libc6-i686
>
> -> Isn't this the 64Bit libc6?
>
> > Since this isn't a squirrelmail issue, let's take this offlist if there
> > are further issues, or take it to the Ubuntu forum.
>
> I agree...
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squ...@li...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>
|
|
From: Matheus L. <gui...@gm...> - 2008-08-08 01:27:00
|
I think that if the problem is that my server is 64bit, I should find a chpasswd file compatible with that architecture. So, if its corret, where I can download this file? 2008/8/7 Matheus Lima <gui...@gm...> > Which libraries are you talking about? How do I find them? How do I install > them? > There is a way I can do this with apt-get? > > 2008/8/7 MrC <lis...@ca...> > > Matheus Lima wrote: >> > I have installed the change_passwd plugin, but it doesn't work. So a >> tried >> > to run the chpasswd as below: >> > >> > $squirrelmail/plugins/change_passwd# ./chpasswd >> > >> > but it return the message: >> > bash: ./chpasswd: No such file or directory >> >> This ENOENT error can occur when you don't have the 32-bit compatibility >> libraries and you're running on a 64-bit system. I see below you are on >> a 64-bit system. Install the libraries. >> >> > Its importante to show the file permissions: >> > $ls -la chpasswd >> > -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd >> > >> > The group "www-data" is the group used by the apache, but I belive >> that's >> > not a problem, because I'm trying to use the command as root first. >> > >> > Then, I send this same file to another server "not a ubuntu server", >> that is >> > a slack. And tried to run it. >> > And wokrs perfectly. >> > >> > So, whats the problem, how can I fix it? >> > >> > PS.: If its importante the server is a 64 bit ubuntu. >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ----- >> squirrelmail-plugins mailing list >> Posting guidelines: http://squirrelmail.org/postingguidelines >> List address: squ...@li... >> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins >> List info (subscribe/unsubscribe/change options): >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins >> > > |
|
From: Matheus L. <gui...@gm...> - 2008-08-08 01:53:43
|
Its not a 64bit architecture problem, cos I did the same test on a fedora64bit server, so WHAT THE FUCK is THAT PROBLEM: Fedora 64 bit server: # ./chpasswd The user (null) don't exist! <---Working!!! Ubuntu 64 bit server: # ./chpasswd bash: ./chpasswd: No such file or directory <---WHAT THE FUCK???? 2008/8/7 Matheus Lima <gui...@gm...> > I think that if the problem is that my server is 64bit, I should find a > chpasswd file compatible with that architecture. So, if its corret, where I > can download this file? > > 2008/8/7 Matheus Lima <gui...@gm...> > > Which libraries are you talking about? How do I find them? How do I install >> them? >> There is a way I can do this with apt-get? >> >> 2008/8/7 MrC <lis...@ca...> >> >> Matheus Lima wrote: >>> > I have installed the change_passwd plugin, but it doesn't work. So a >>> tried >>> > to run the chpasswd as below: >>> > >>> > $squirrelmail/plugins/change_passwd# ./chpasswd >>> > >>> > but it return the message: >>> > bash: ./chpasswd: No such file or directory >>> >>> This ENOENT error can occur when you don't have the 32-bit compatibility >>> libraries and you're running on a 64-bit system. I see below you are on >>> a 64-bit system. Install the libraries. >>> >>> > Its importante to show the file permissions: >>> > $ls -la chpasswd >>> > -rwsr-x--- 1 root www-data 9873 2008-08-07 17:56 chpasswd >>> > >>> > The group "www-data" is the group used by the apache, but I belive >>> that's >>> > not a problem, because I'm trying to use the command as root first. >>> > >>> > Then, I send this same file to another server "not a ubuntu server", >>> that is >>> > a slack. And tried to run it. >>> > And wokrs perfectly. >>> > >>> > So, whats the problem, how can I fix it? >>> > >>> > PS.: If its importante the server is a 64 bit ubuntu. >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> ----- >>> squirrelmail-plugins mailing list >>> Posting guidelines: http://squirrelmail.org/postingguidelines >>> List address: squ...@li... >>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins >>> List info (subscribe/unsubscribe/change options): >>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins >>> >> >> > |
|
From: MrC <lis...@ca...> - 2008-08-08 20:08:53
|
Matheus Lima wrote: > I'm sorry, but if someone could help in this issue I apreciate: > > I've tryed: > > On FEDORA 64bit > ldd chpasswd > (0xffffe000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x00cb6000) > libc.so.6 => /lib/libc.so.6 (0x00723000) > /lib/ld-linux.so.2 (0x00706000) <---- Seems to me OK!!! :) > > But... > > On Ubuntu 64 bit > #ldd chpasswd > not a dynamic executable <---- Holy shit!!! THATs MY PROBLEM > > HELP!!!! This response from ldd is consistent with the missing 32-bit compatibility package. If you run: file chpasswd you will see file tells you it IS a program that uses shared libraries. The program doesn't auto-magically convert itself upon copy from one requiring shared libraries to one that uses static libraries. Have you verified that the shared library I referred you to yesterday does not exist? You need those shared libraries that are listed by your Fedora ldd-run. |
|
From: Matheus L. <gui...@gm...> - 2008-08-08 20:45:48
|
I did what you say: #file chpasswd chpasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped What does it mean? I supose that should be able to download a chpasswd file compatible? Or Im talking shit? And yes, yesterday I try: #apt-get install libc6-i686 Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package libc6-i686 <---FUCK And then: # apt-get install libc6 Reading package lists... Done Building dependency tree Reading state information... Done libc6 is already the newest version. <---Its already installed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. So what now? And thank for the help anyway!!! 2008/8/8 MrC <lis...@ca...> > Matheus Lima wrote: > > I'm sorry, but if someone could help in this issue I apreciate: > > > > I've tryed: > > > > On FEDORA 64bit > > ldd chpasswd > > (0xffffe000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x00cb6000) > > libc.so.6 => /lib/libc.so.6 (0x00723000) > > /lib/ld-linux.so.2 (0x00706000) <---- Seems to me OK!!! :) > > > > But... > > > > On Ubuntu 64 bit > > #ldd chpasswd > > not a dynamic executable <---- Holy shit!!! THATs MY PROBLEM > > > > HELP!!!! > > This response from ldd is consistent with the missing 32-bit > compatibility package. If you run: > > file chpasswd > > you will see file tells you it IS a program that uses shared libraries. > The program doesn't auto-magically convert itself upon copy from one > requiring shared libraries to one that uses static libraries. > > Have you verified that the shared library I referred you to yesterday > does not exist? You need those shared libraries that are listed by your > Fedora ldd-run. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > |
|
From: Matheus L. <gui...@gm...> - 2008-08-08 20:50:17
|
On the chpaswd.c file there is a link to this libraries, and when I try to compile, the erros were: #include <stdio.h> #include <time.h> #include <unistd.h> # gcc -lcrypt -O -o chpasswd chpasswd.c chpasswd.c:11:20: error: unistd.h: No such file or directory ... If it means something :) 2008/8/8 Matheus Lima <gui...@gm...> > I did what you say: > > #file chpasswd > chpasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped > > What does it mean? > > I supose that should be able to download a chpasswd file compatible? Or Im > talking shit? > > And yes, yesterday I try: > #apt-get install libc6-i686 > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Couldn't find package libc6-i686 <---FUCK > > And then: > # apt-get install libc6 > Reading package lists... Done > Building dependency tree > Reading state information... Done > libc6 is already the newest version. <---Its already installed > 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. > > So what now? > > And thank for the help anyway!!! > > 2008/8/8 MrC <lis...@ca...> > > Matheus Lima wrote: >> > I'm sorry, but if someone could help in this issue I apreciate: >> > >> > I've tryed: >> > >> > On FEDORA 64bit >> > ldd chpasswd >> > (0xffffe000) >> > libcrypt.so.1 => /lib/libcrypt.so.1 (0x00cb6000) >> > libc.so.6 => /lib/libc.so.6 (0x00723000) >> > /lib/ld-linux.so.2 (0x00706000) <---- Seems to me OK!!! :) >> > >> > But... >> > >> > On Ubuntu 64 bit >> > #ldd chpasswd >> > not a dynamic executable <---- Holy shit!!! THATs MY PROBLEM >> > >> > HELP!!!! >> >> This response from ldd is consistent with the missing 32-bit >> compatibility package. If you run: >> >> file chpasswd >> >> you will see file tells you it IS a program that uses shared libraries. >> The program doesn't auto-magically convert itself upon copy from one >> requiring shared libraries to one that uses static libraries. >> >> Have you verified that the shared library I referred you to yesterday >> does not exist? You need those shared libraries that are listed by your >> Fedora ldd-run. >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ----- >> squirrelmail-plugins mailing list >> Posting guidelines: http://squirrelmail.org/postingguidelines >> List address: squ...@li... >> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins >> List info (subscribe/unsubscribe/change options): >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins >> > > |
|
From: Urs M. <new...@bf...> - 2008-08-09 14:32:46
|
Howdy Am Fr, 8.08.2008, 22:50, schrieb Matheus Lima: > On the chpaswd.c file there is a link to this libraries, and when I try to > compile, the erros were: > #include <stdio.h> > #include <time.h> > #include <unistd.h> > > # gcc -lcrypt -O -o chpasswd chpasswd.c > chpasswd.c:11:20: error: unistd.h: No such file or directory > ... > If it means something :) It does... your gcc is missing the appropriate libraries. I guess, you have to install the libc6-dev package. I'll send you via pm a 64Bit compile of chpasswd (on OpenSuSE 11). file chpasswd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped ldd chpasswd linux-vdso.so.1 => (0x00007fff2f3fe000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fe826e9a000) libc.so.6 => /lib64/libc.so.6 (0x00007fe826b41000) /lib64/ld-linux-x86-64.so.2 (0x00007fe8270d7000) Use it, if you trust me, or try yourself. Regards, Urs |