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

RE: Fstab setup

That worked really well..  Thanks!

-----Original Message-----
From: Scot L. Harris [mailto:webid cfl rr com] 
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:


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 cfl rr com

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

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

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