script

Hozzászólások

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

      hozza adtam magam a users -hez talan segit.

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

        1.

        If any user should be able to unmount, then use users instead of user in the fstab line.
        Koszonom vizsla :user ,users nem mindegy 🙂

        Code:
        (usually given in a bootscript) causes all file systems mentioned in fstab (of the proper type and/or having or not having the proper options) to be mounted as indicated, except for those whose line contains the noauto keyword.
        Adding the -F option will make mount fork, so that the filesystems are mounted simultaneously.
        (ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point.
        (iii) Normally, only the superuser can mount file systems. However, when fstab contains the user option on a line, anybody can mount the corresponding system.
        Thus, given a line

            /dev/cdrom /cd iso9660 ro,user,noauto,unhide

        any user can mount the iso9660 file system found on his CDROM using the command

            mount /dev/cdrom
        or

            mount /cd

        2.

        A fenti kod formajara megirtam a sajat dvd re vonatkozo meghatarozast ami igynezki.
        /dev/hdc /media/cdrom0 /cd iso9660 ro,users,noauto,unhide
        Szamit az valamit hogy cd iso van irva cd iso9660 es nem dvd ….?

        meg meg szerintem ezzel is mukodnie kellene.
        /dev/hdc        /media/cdrom0  udf,iso9660 users,noauto    0      0

        Ezekutan

        3.

        script@server:~$ mount /dev/hdc /media/cdrom0
        mount: only root can do that

        Sracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?

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

          1.

          If any user should be able to unmount, then use users instead of user in the fstab line.
          Koszonom vizsla :user ,users nem mindegy 🙂

          Code:
          (usually given in a bootscript) causes all file systems mentioned in fstab (of the proper type and/or having or not having the proper options) to be mounted as indicated, except for those whose line contains the noauto keyword.
          Adding the -F option will make mount fork, so that the filesystems are mounted simultaneously.
          (ii) When mounting a file system mentioned in fstab, it suffices to give only the device, or only the mount point.
          (iii) Normally, only the superuser can mount file systems. However, when fstab contains the user option on a line, anybody can mount the corresponding system.
          Thus, given a line

              /dev/cdrom /cd iso9660 ro,user,noauto,unhide

          any user can mount the iso9660 file system found on his CDROM using the command

              mount /dev/cdrom
          or

              mount /cd

          2.

          A fenti kod formajara megirtam a sajat dvd re vonatkozo meghatarozast ami igynezki.
          /dev/hdc /media/cdrom0 /cd iso9660 ro,users,noauto,unhide
          Szamit az valamit hogy cd iso van irva cd iso9660 es nem dvd ….?

          meg meg szerintem ezzel is mukodnie kellene.
          /dev/hdc        /media/cdrom0  udf,iso9660 users,noauto    0      0

          Ezekutan

          3.

          script@server:~$ mount /dev/hdc /media/cdrom0
          mount: only root can do that

          Sracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?

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

            Most ezt csinalom

            vi /etc/fstab
            Append following line to it:
            /dev/cdrom /mnt/cdrom auto nosuid,nodev,noauto,user,ro,unhide 0 0
            Thus any user can mount the his CDROM using the command:
            mount /dev/hdc

            Code:
            script@server:~$ mount /dev/hdc
            mount: mount point /mnt/cdrom0 does not exist
            script@server:~$

            Bocsnat /media/cdrom0 letezik
            Pedig  ” /mnt/cdrom0 ” letezik es jogosultsaga is van a usernek hozza chmod 777

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

              Most ezt csinalom

              vi /etc/fstab
              Append following line to it:
              /dev/cdrom /mnt/cdrom auto nosuid,nodev,noauto,user,ro,unhide 0 0
              Thus any user can mount the his CDROM using the command:
              mount /dev/hdc

              Code:
              script@server:~$ mount /dev/hdc
              mount: mount point /mnt/cdrom0 does not exist
              script@server:~$

              Bocsnat /media/cdrom0 letezik
              Pedig  ” /mnt/cdrom0 ” letezik es jogosultsaga is van a usernek hozza chmod 777

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

                Megvan hatarozva neki ,hogy auto mount de meg root nak sem csatolja fel auto ba a lemezt, a regi ironal ez nem volt problema.

                neki=fstab

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

                  Megvan hatarozva neki ,hogy auto mount de meg root nak sem csatolja fel auto ba a lemezt, a regi ironal ez nem volt problema.

                  neki=fstab

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

                    Es meg mindig nem megy.

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

                      Es meg mindig nem megy.

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

                        Ez full access lenne nem?

                        /dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,user,ro,unhide 0 0

                      10 bejegyzés megtekintése - 1,001-1,010 / 1,818