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

Re: Where is the best place for "mount" commands?



On Wed, 2006-05-03 at 13:32 +0100, WipeOut wrote:
> I have a number mounts I need for network shares on my samba server.. I 
> would like the mount commands to run when I login..
> 
> Where is the best place for a "login script" type thing in a Linux system?
> 
> I have read mention of using rc.local, .bashrc and .profile files but 
> haven't found anything conclusive as to what the "right" way to do it is..
> 
> Any advice would be appreciated..
> 

/etc/fstab would be a good place to mount shares on the system.
Recommend you use the credentials option for cifs shares.  That will
allow you to protect the password info a little better than having it
directly in the /etc/fstab file.



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