RE: Fstab setup

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

 



That worked really well..  Thanks!

-----Original Message-----
From: Scot L. Harris [mailto:webid@xxxxxxxxxx] 
Sent: Thursday, October 07, 2004 2:41 PM
To: 'For users of Fedora Core releases'
Subject: Re: Fstab setup


On Thu, 2004-10-07 at 14:14, Williams, David wrote:
> I am mounting a smbfs share from a windows machine to my fedora core 2 
> box on boot.  I am using the entry in my fstab to do this.  How can I 
> specify the user and password to mount the share without it showing up 
> in clear text in the fstab?  Is there a way to hash the password in 
> another file and call it from fstab?
> 
> Any help would be appreciated.

You need to use the credentials=pathtofile/file in the fstab options.

Then in the file you entries like:

username=user
password=verysecurepassword

The file I used was .smbpw down in my home directory with readonly
permissions for the owner.

I used a full path such as /home/user/.smbpw in the credentials line.

Check out the man pages.  I think that is where I found this.


-- 
Scot L. Harris
webid@xxxxxxxxxx

	"The jig's up, Elman."
	"Which jig?"
		-- Jeff Elman 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux