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



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: [SLE] Almost in a panic here...
    ... I use SuSE 9.3 by the way. ... so I then went to fstab and removed the one I'd ... As root, I open konqueror to browse directories and when I click on ... 255 heads, 63 sectors/track, 9964 cylinders ...
    (SuSE)
  • Re: /-partition : lilo.conf - root= vs. fstab
    ... >> to let him know where to start and once in fstab. ... Does lilo or kernel already ... the root partition is usually mounted read-only so it can ... The first place the kernel looks for a "root=" specification is on the command ...
    (comp.os.linux.misc)
  • Re: Recent updates caused Grub installation to be damaged?
    ... as fstab and grub.conf have been changed by upgrade; i fixed them mounting disk on an external usb box. ... title Fedora ... root ... initrd /initrd-2.6.25.6-55.fc9.i686.img ...
    (Fedora)
  • Re: How to make mount command mount partions as user not only as root ?
    ... I mean a disk/partition which is not mentioned in fstab file ... You appear to have root ... give access to ordinary users by editing fstab. ...
    (comp.os.linux.hardware)
  • Re: [SLE] Almost in a panic here...
    ... I use SuSE 9.3 by the way. ... so I then went to fstab and removed the one I'd ... to 'repair' everything. ... As root, I open konqueror to browse directories and when I click on ...
    (SuSE)