Guess I missed the original post. If you're not too picky about who
mounts/unmounts, you could add the 'user' option to the appropriate entry in
the the fstab. The only other option I can think of is using sudo or su1.
-Faisal.
> > On Sun, 20 May 2001, Zen wrote:
> > > I want to give a particular user( say Tom) , comming through Telnet on
>
> a
>
> > > local Lan permissions to mount the Fat partitions as necessary on a
>
> dual
>
> > > boot PC....
> > > I don't want em available all the time, so putting em in /etc/fstab is
> > > out...
> > >
> > > I have a script in the /root folder ---as below && a umount in the
>
> logout
>
> > > script file...
> > >
> > > if mount -t vfat /dev/hda1 /mnt/vfat
> > > then
> > > echo -e "\nVfat Partition /dev/hda1 mounted"
> > > else
> > > echo "\n Unable to mount vfat Partition"
> > > fi
> > > #----------------------------
> > > Made owner of file as root && group owner same as Tom,( with no write
> > > permission) given the file a chmod g+s stamp.
> > >
> > > However this does'nt work out....?
> > > It says something like only the root can do that....
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/linux-india-help
--
-====----====----====----====----====----====----====---
____
/ \
"@'| '..` |`@" L I N U X
/__| \__/ |__\ May the source be with you
\__U_/
--------------------------------------------------------
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help