Re: How to make mount command mount partions as user not only as root ?



hello

Thak you for your replies

well, i know that i can use fstab etc but Why cant' I pass params to mount
command directly? Mount command reads what is written in fstab, does it not?
Exacly in this way it should read the params i set should it not?

I vaguely remember that there was a way of doing it... by changing chmod +s
for mount

Thanks you


"Aragorn" <aragorn@xxxxxxxxxxxxxxxxxxx> wrote in message
news:hHIWj.11400$_K5.222@xxxxxxxxxxxxxxxx
Joe Pfeiffer wrote:

"=SERGE=" <serge_mtu@xxxxxxxxxx> writes:

w/o fstab
I mean a disk/partition which is not mentioned in fstab file
For example there was some free space on disk I made a partion and would
like to be able to mount it in linux tree with mount command w/o putting
anything in fstab

Why are you so opposed to editing fstab? You appear to have root
access since you were able to create a partition and change
permissions on files and directories that are in directories that
normally belong to root; the idea here is just that you, as root, can
give access to ordinary users by editing fstab. So do it.

I am actually very tempted to assume that he does not have root access on
that machine, and that certain things he describes as "having done" have
actually been done by the real root user.

Either way, if he had /su/ or /sudo/ rights, he could create a partition
and
mount it anyway, without having to edit */etc/fstab.* The fact that he
hasn't thought of this solution yet leads me to believe that he's actually
trying to crack a box. :-/

--
*Aragorn*
(registered GNU/Linux user #223157)


.



Relevant Pages

  • Re: access permission on mounted fat32 drive
    ... pay attentition to that line in fstab, I guess with option 'auto', this ... file system was firstly mounted by root, try change auto => noauto. ... you can use 'usermount' tool to do mount or unmount. ...
    (Fedora)
  • Re: [SLE] NIS /home problem
    ... and mount it on /home on the client but yast doesn't let me. ... Originally did the client have an fstab with a line something like this? ... You should be able to log in as root. ...
    (SuSE)
  • Re: [SLE] was GRUB - Intersting ... fstab
    ... mount all the drives you will multoboot from ... on the box then log in as root. ... and ask if you want to modify fstab permenently. ...
    (SuSE)
  • fstab windows partition question
    ... I would like to mount my ntfs partition to be readable to all ... by default it is readable to the root only. ... fstab line created by the Ubuntu install is: ...
    (Ubuntu)
  • Re: mount weirdness
    ... kernel was booted with as /, but when you run `mount' tell you what's in ... fstab because it was saying hda5 was root. ...
    (uk.comp.os.linux)