That is great....I'm just starting to read it!
From: fedora[email protected] [mailto:[email protected]]On Behalf Of Marcelo de Souza Sant'Anna
Sent: Monday, January 14, 2008 6:50 AM
To: For users of Fedora
Subject: RE: How to mount a SAMBA directory at boot with FC8?
Read this pdf:
This contain all information about CIFS including your doubt.
On Sun, 2008-01-13 at 20:16 -0500, Arch Willingham wrote:I took you advice and it worked...thanks! In the FWIW department, here is what I did (if you see anything wrong, please holler): 1. Opened file /etc/auto.master and added this to the bottom: /mnt/samba /etc/auto.samba -t=120 2. Made a file called /etc/auto.smb.SAMPLEHOSTNAME and added this to the inside: username=samplesambauser password=the password you want to use 3. Made a file called /etc/auto.samba windows -fstype=cifs,credentials=/etc/auto.smb.SAMPLEHOSTNAME ://SAMPLEHOSTNAME/SHARENAME 4. chmod 600 /etc/auto.smb.SAMPLEHOSTNAME 5. /etc/init.d/autofs restart 6. Ran this to see if it works ls -als /mnt/samba/windows Thanks! Arch -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Craig White Sent: Sunday, January 13, 2008 12:31 PM To: For users of Fedora Subject: Re: How to mount a SAMBA directory at boot with FC8? On Sun, 2008-01-13 at 12:24 -0500, Arch Willingham wrote: > I have read a bunch of stuff on how to do this but the exact steps are > unclear. Some articles say to use the "mount -t smbfs -o > username=username //winclient/blahblah /mnt/winclient-blahblah", some > say to use "smbmount" and some say not to use cifs (mount -t cifs -o > username=netuser,password=hiddenword //windowsmachine/origin /home/username/destination). Which one is the best? > > > Then there is the while issue of the fstab thing. > > What I want to do is mount a directory on a windows machine at boot > time (I.E> when the Linux machine boots). I want all users to be able > to have the local directory \images be re-routed to a directory on a > windows machine. I see some of the commands but each has the mount > command that shows the password to get to the windows machine. Is > there any way to get the password from a file so that all users of the > Linux machine can't see the password? ---- put it in root's subdirectory. You might however want to check out autofs Craig -- fedora-list mailing list [email protected] To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list