Hozzászólások
-
SzerzőBejegyzés
-
hozza adtam magam a users -hez talan segit.
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
ormount /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 0Ezekutan
3.script@server:~$ mount /dev/hdc /media/cdrom0
mount: only root can do thatSracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?
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
ormount /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 0Ezekutan
3.script@server:~$ mount /dev/hdc /media/cdrom0
mount: only root can do thatSracok frankon az fstab-bol olvassa ki a rendszer ,hogy nincs jogosultsagom vagy meg mindig nem vagyok tagja valamelyik groupak ami szukseges ?
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/hdcCode: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 777Most 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/hdcCode: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 777Megvan 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
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
Es meg mindig nem megy.
Es meg mindig nem megy.
Ez full access lenne nem?
/dev/hdc /mnt/cdrom0 auto nosuid,nodev,noauto,user,ro,unhide 0 0
-
SzerzőBejegyzés
legutóbbi hsz