About fstab

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

 



Is there any way of letting "mount -a" mount a list other than what is
in fstab. The scenario is this. 

I am trying to set up a few account to be able to use ftp. I want these
users jailed to their home directories, and give them access using the
mount --bind option.

I found a solution which works as follows. I make a directory under the
user directory, say mounthere and put the following file in fstab
/home/user/dir 	/path/to/dir	none	bind

This mounts dir in /home/user/dir, and the chrooted user can access the
file outside his tree.

Is there anyway of passing a list to the mount command, or is it ok to
just use(abuse) fstab like that


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux