Hi all, Sorry if this is off-topic, but I am having a simple problem with mounting a networked file share with Samba. I am running RH 9.0 with all of the updates.
I am trying to connect to the filestore that is part of our M$ Windoze 2000 network. I have put an entry in my /etc/fstab file that looks like this: //BALDER/PUB /mnt/balder smbfs username=<name>,passwd=<password> 0 0 This is working fine. Every time I log into the system, I get my desktop with a new Balder icon so that I can browse the store However, after monitoring some of the latest posts to this mailing list, I realized that I could put the username and password in a "credentials" file that I could then protect (by setting its permissions to 0600) instead of having my username/password in plain text in the shared /etc/fstab file. So, I created the credentials file (/root/balder), set its permissions to 0600, and changed the entry in /etc/fstab to be: //BALDER/PUB /mnt/balder smbfs credentials=/root/balder 0 0 [as an aside, I also tried putting 'credentials=~/balder' into /etc/fstab, which did not work] Before anyone says or does anything drastic ;-), I am just experimenting with the root account - I will come up with a better, non-root way later. I don't want to get clocked with the security "clue-by-four" :-). I tried both running mount/umount from a command line and rebooting and relogging in; the credentials file worked, but I lost the nice Balder icon stopped appearing on my desktop. I surmised that it was because the name of my credentials file was the same as the name of the (now disappeared) icon, so I tried renaming the file and modifying /etc/fstab accordingly. However, the filestore would no longer mount, no matter what alternate name I chose for the credentials file (even when I went back to the name balder); when I ran 'mount /mnt/balder', the mount program appeared to just hang (e.g. no output to the console) until I finally killed the process. Since this time, I have not been able to get the credentials file to work, even if I delete it and start again. Finally, I deleted the credentials file and went back to putting my username and password in the /etc/fstab file, and I am back to where I started. My credentials file looked exactly like the man page for smbmount specified (2 lines) username = <name> password = <password> (in fact, the file worked fine until I tried to rename it). Any help would be appreciated Best Regards, Jason Murray Senior Design Engineer [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list