mount per user

brouwers roland lx roland at cat.be
Tue Aug 23 10:26:36 UTC 2005


Hello everybody,

I have a client with a MSserver and a server Fedora3.
On te MsServer every user has a home dir.
I would like to mount his homedir on the MsServer everytime he logs in.
I thought of inserting a line into /etc/fstab
//HisComputer/HisShare  /mnt/MyMount     smbfs     noauto,user 0 0    
And put a mount /mnt/MyMount  into ~/.bashrc 
and do the umount in ~/.bash_logout
But somehow it does not work.

Linux refuses to mount as a normal user
so i have to use sudo.
Is there a better way?

Thanks
Roland
roland at cat.be




More information about the fedora-list mailing list