LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-15-2002, 11:49 PM   #1
stodge
Member
 
Registered: Jan 2002
Posts: 52

Rep: Reputation: 15
Automounting a samba share at bootup


Is there a way to configure Mandrake to automount a samba share from a server, without specifying a password and username in a script file. For example, I modified rc.local to perform smbmount, but I have to specify all of the parameters, including the username and password, which obviously isn't good.

Thanks
 
Old 02-16-2002, 02:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you set attributes correctly you shouldn't need to worry about plain text passwords.

in /etc/fstab:

//server/share /mnt/somewhere smbfs user=name,password=xxxx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Automounting dual-boot server's share - how? foxy123 Linux - Networking 1 09-13-2005 01:57 PM
which is the prefered method of automounting in samba? dopper Linux - Software 2 10-01-2004 05:02 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Automounting Samba partitions with a twist PiMoGo Linux - General 1 11-06-2002 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration