Re: How to mount device as USER on Konsole window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ron,

Thanks for your advice.

Hereinbelow is /etc/fstab

LABEL=/      /          ext3    defaults        1 1
LABEL=/boot  /boot       ext3    defaults        1 2
none        /dev/pts     devpts  gid=5,mode=620  0 0
none        /proc        proc    defaults       0 0
none        /dev/shm     tmpfs   defaults        0 0
/dev/hda3    swap        swap    defaults        0 0
/dev/cdrom   /mnt/cdrom   udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1  /mnt/cdrom1  udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0     /mnt/floppy  auto       noauto,owner,kudzu 0 0

If I want to allow "satimis"(user) to mount cdrom, cdrom1 and fd0
whether I have to make following changes

/dev/cdrom  /mnt/cdrom   udf,iso9660 noauto,owner,satimis,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1  udf,iso9660 noauto,owner,satimis,kudzu,ro 0 0
/dev/fd0    /mnt/floppy  auto       noauto,owner,satimis,kudzu 0 0

If I replace "satimis" with "user" whether all users can mount those
device?

On Thu, 2003-08-28 at 00:14, Ronald W. Heiby wrote:

- snip -
> > etc. can't work unless you "su -".  But this is to mount as ROOT.
> 
> Yes it can, but only if your /etc/fstab entry is set up to allow it.
> You need to include the "user" option where you probably now have
> "owner". In addition, you probably want to include "nosuid" and
> "noexec".

Where shall I add "nosuid" and "noexec"?  What will be their difference
in function?

> You may have to eliminate the "kudzu" option, to prevent the entry
> from being destroyed and recreated with default options when you
> reboot.

Kindly advise what "entry" you refer.  Whether the mounting command
issued?

Thanks in advance.

B.Regards
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux