LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-11-2003, 04:25 PM   #1
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Rep: Reputation: 15
Samba asks password


Every time I want to mount a Windows share from Linux using Samba, it asks for the password. When I type the password it works.
This is very annoying since I've put the mount in my fstab and when the computer wants to mount the share while booting up it asks for the password. If I fill in the password, it continues booting up.

How can I get rid of it, so I don't have to give the password ech time my computer boots up.
 
Old 09-11-2003, 04:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Add a credentials option to /etc/fstab -eg:
credentials=/root/.shareX-credentials

Make the /root/.shareX-credentials file something like:
username=element
password=your_password
workgroup=your_workgroup
 
  


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
login asks for password twice before authenticating xfurious_mindx Linux - General 9 09-17-2012 08:54 AM
linux asks me for a password feigenluis Linux - Newbie 10 05-31-2005 06:07 AM
samba repetitively asks for username/password in nautilus FLOODS Linux - Software 3 05-06-2004 04:03 PM
network asks for password????? naginata Linux - Networking 1 03-28-2004 09:45 AM
Redhat 8 asks for root password before dialling head8k Linux - Newbie 9 02-21-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:45 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