[linux-network] Re: proftbd ile ilgili sorun

---------

From: Erhan Ekici (erhan@uzem.itu.edu.tr)
Date: Sun 11 Jan 2004 - 20:55:31 EST

  • Next message: Coskun KARACA: "[linux-network] squid belası"

    Merhabalar...

    Proftpd kaynak kodunda privs.h
    (http://castaglia.proftpd.de/doc/devel-guide/src/include/privs.h.html)
    dosyasında hatanın oluştuğu kısım şöyle gözüküyor:

    if (!session.disable_id_switching) { \
          if (setregid(session.gid, PR_ROOT_GID)) \
            log_pri(PR_LOG_ERR, "PRIVS_ROOT: unable to setregid(): %s", \
              strerror(errno)); \
          if (setreuid(session.uid, PR_ROOT_UID)) \
            log_pri(PR_LOG_ERR, "PRIVS_ROOT: unable to setreuid(): %s", \
              strerror(errno)); \
        } else \
          log_debug(DEBUG9, "ROOT PRIVS: ID switching disabled"); \

    setregid(session.gid, PR_ROOT_GID) fonksiyonu pozitif(TRUE) sonuç döndürmüyor.

    setregid() Function:
    ----------------------
    The setregid() function shall set the real and effective group IDs of the
    calling process.Only a process with appropriate privileges can set the real
    group ID and the effective group ID to any valid value.

    http://www.opengroup.org/onlinepubs/007904975/functions/setregid.html

    Umarım işinize yarar..

    İyi Çalışmalar...

    Quoting Özgür Çelik <ozgur.celik@enter.com.tr>:

    > Version proftpd-1.2.9rc1 hp-ux =FCzerinde =E7al=FD=FE=FDyor=20
    >
    > Te=FEekk=FCrler
    >
    > -----Original Message-----
    > From: linux-network-bounce@liste.linux.org.tr
    > [mailto:linux-network-bounce@liste.linux.org.tr] On Behalf Of Devrim =
    > GUNDUZ
    > Sent: Sunday, January 11, 2004 8:37 PM
    > To: linux-network@liste.linux.org.tr
    > Subject: [linux-network] Re: proftbd ile ilgili sorun
    >
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    >
    > Merhaba,
    >
    > On Sat, 10 Jan 2004, =D6zg=FCr =C7elik wrote:
    >
    > > Slm proftpd loglar=3DFDnda a=3DFEag=3DFDdaki hatay=3DFD veriyor bu =
    > konu =3D
    > > hakk=3DFDnda bilgisi
    > > olan varm=3DFD=3D20
    > > PRIVS_ROOT: unable to setregid(): Not owner .
    >
    > Kullandiginiz proftpd surumu nedir acaba? Bir de hangi dagitimda=20
    > kullaniyorsunuz?
    >
    > Saygilar,
    >
    > - --=20
    > Devrim GUNDUZ =20
    > devrim@gunduz.org devrim.gunduz@linux.org.tr=20
    > http://www.TDMSoft.com
    > http://www.gunduz.org
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.2.1 (GNU/Linux)
    >
    > iD8DBQFAAZfWtl86P3SPfQ4RAuzoAJwMaDrZktzzBEgv9r3P1/FzFH/gawCfT6Zo
    > VK5EMofSlkq09rgJeKbKcRY=3D
    > =3D0lSP
    > -----END PGP SIGNATURE-----
    >
    >
    >
    >
    >

    -- 
    Erhan Ekici
    İTÜ Uzaktan Eğitim Merkezi
    E-Posta : erhan@uzem.itu.edu.tr
    www.uzem.itu.edu.tr
    

  • Next message: Coskun KARACA: "[linux-network] squid belası"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.