LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-16-2002, 12:49 AM   #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, 03:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:35 AM
Automounting dual-boot server's share - how? foxy123 Linux - Networking 1 09-13-2005 02:57 PM
which is the prefered method of automounting in samba? dopper Linux - Software 2 10-01-2004 06:02 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM
Automounting Samba partitions with a twist PiMoGo Linux - General 1 11-06-2002 10:35 PM


All times are GMT -5. The time now is 02:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration