Where is the best place for "mount" commands?
Scot L. Harris
webid at cfl.rr.com
Wed May 3 12:35:48 UTC 2006
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.
More information about the fedora-list
mailing list