script

Hozzászólások

10 bejegyzés megtekintése - 961-970 / 1,818
  • Szerző
    Bejegyzés
  • Hozzászólás: DVD irom, csak cd-t olvas #2168508
    script
    Felhasználó

      Nemis ,a harmadik pont nezki a leg egyszerubbnek.

      Code:
      3) make the C wrapper script setuid root
        log in as root and type:
        chmod u+s /usr/bin/mountpy
      Hozzászólás: DVD irom, csak cd-t olvas #2168505
      script
      Felhasználó

        Igen installalom mindjart a super -t

        Hozzászólás: DVD irom, csak cd-t olvas #2168506
        script
        Felhasználó

          Igen installalom mindjart a super -t

          Hozzászólás: DVD irom, csak cd-t olvas #2168501
          script
          Felhasználó

            root nak ez is megy

            Code:
            server:/home/script# mountpy /dev/hdc
            Mounted /dev/hdc iso9660
            List of mounted devices:  /dev/hdc
            server:/home/script# umount /dev/hdc
            server:/home/script#               

            usernek

            Code:
            script@server:~$ mountpy /dev/hdc

            mountpy is not being run with enough privileges.
            There are 3 ways how to make mountpy run comfortably with root privileges:
            1) install sudo, add this line to /etc/sudoers:
            joesmith ALL = NOPASSWD: /usr/bin/mountpy, usr/bin/umountpy
              to allow user joesmith use mountpy.
              It you want to allow all the users use mountpy, change the line into:
            ALL ALL = NOPASSWD: /usr/bin/mountpy, usr/bin/umountpy
              and then run „sudo mountpy” and „sudo umountpy”
            2) install super, add these lines to /etc/super.tab:
              mountpy /usr/bin/mountpy.py joesmith
            umountpy /usr/bin/umountpy joesmith
              to allow user joesmith to run mountpy, or:
            mountpy /usr/bin/mountpy.py .*
            umountpy /usr/bin/umountpy .*
              to give access to all the users, and run „super mountpy” or „super umountpy”
            3) make the C wrapper script setuid root
              log in as root and type:
            chmod u+s /usr/bin/mountpy

            Be aware that giving all the users rights to execute mountpy can be a
            security risk, if an exploitable bug is found in mountpy.  This is
            especially true in the 3rd case. Therefore, it is recommended to allow
            only selected users to run mountpy, and use super or sudo if possible.
            Press ENTER to try anyway
            Traceback (most recent call last):
              File „/usr/bin/mountpy.py”, line 318, in ?
                os.setuid(0)
            OSError: [Errno 1] Operation not permitted
            script@server:~$       

            Megkeresem a super mountpy -t , hatha ossze jon a konfigolasa.

            Hozzászólás: DVD irom, csak cd-t olvas #2168502
            script
            Felhasználó

              root nak ez is megy

              Code:
              server:/home/script# mountpy /dev/hdc
              Mounted /dev/hdc iso9660
              List of mounted devices:  /dev/hdc
              server:/home/script# umount /dev/hdc
              server:/home/script#               

              usernek

              Code:
              script@server:~$ mountpy /dev/hdc

              mountpy is not being run with enough privileges.
              There are 3 ways how to make mountpy run comfortably with root privileges:
              1) install sudo, add this line to /etc/sudoers:
              joesmith ALL = NOPASSWD: /usr/bin/mountpy, usr/bin/umountpy
                to allow user joesmith use mountpy.
                It you want to allow all the users use mountpy, change the line into:
              ALL ALL = NOPASSWD: /usr/bin/mountpy, usr/bin/umountpy
                and then run „sudo mountpy” and „sudo umountpy”
              2) install super, add these lines to /etc/super.tab:
                mountpy /usr/bin/mountpy.py joesmith
              umountpy /usr/bin/umountpy joesmith
                to allow user joesmith to run mountpy, or:
              mountpy /usr/bin/mountpy.py .*
              umountpy /usr/bin/umountpy .*
                to give access to all the users, and run „super mountpy” or „super umountpy”
              3) make the C wrapper script setuid root
                log in as root and type:
              chmod u+s /usr/bin/mountpy

              Be aware that giving all the users rights to execute mountpy can be a
              security risk, if an exploitable bug is found in mountpy.  This is
              especially true in the 3rd case. Therefore, it is recommended to allow
              only selected users to run mountpy, and use super or sudo if possible.
              Press ENTER to try anyway
              Traceback (most recent call last):
                File „/usr/bin/mountpy.py”, line 318, in ?
                  os.setuid(0)
              OSError: [Errno 1] Operation not permitted
              script@server:~$       

              Megkeresem a super mountpy -t , hatha ossze jon a konfigolasa.

              Hozzászólás: DVD irom, csak cd-t olvas #2168497
              script
              Felhasználó

                cd-info progit nemtudom telepiteni fuggosegei miatt.
                Ujra instalaltam az auto mount , autofs  ,autofs-hesiod ,es a mountpy csomagokat.
                De meg mindig manualisan kell mountolni meg root nak is,viszont ugy legalabb mukodik , csak a felhasznalo nak nincs engedelye hasznalni.

                Hozzászólás: DVD irom, csak cd-t olvas #2168498
                script
                Felhasználó

                  cd-info progit nemtudom telepiteni fuggosegei miatt.
                  Ujra instalaltam az auto mount , autofs  ,autofs-hesiod ,es a mountpy csomagokat.
                  De meg mindig manualisan kell mountolni meg root nak is,viszont ugy legalabb mukodik , csak a felhasznalo nak nincs engedelye hasznalni.

                  Hozzászólás: DVD irom, csak cd-t olvas #2168493
                  script
                  Felhasználó

                    Koszonom szepen a segitseget.

                    Eleg korulmenyes lesz ezt a cd-info progit feltenni . A manualis telepites meg eleg hosszadalmasnak tunik az osszes fuggoseget elokeresni es  telepiteni igy 23:30 -korul ugyhogy a folytatast elnapolnam … holnap estig.

                    Koszi megegyszer.

                    Hozzászólás: DVD irom, csak cd-t olvas #2168494
                    script
                    Felhasználó

                      Koszonom szepen a segitseget.

                      Eleg korulmenyes lesz ezt a cd-info progit feltenni . A manualis telepites meg eleg hosszadalmasnak tunik az osszes fuggoseget elokeresni es  telepiteni igy 23:30 -korul ugyhogy a folytatast elnapolnam … holnap estig.

                      Koszi megegyszer.

                      Hozzászólás: DVD irom, csak cd-t olvas #2168491
                      script
                      Felhasználó

                        Mindjart 🙂

                      10 bejegyzés megtekintése - 961-970 / 1,818