LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2005, 08:04 AM   #1
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Mounting & passwords


Is it possible to mount several file systems to different mount points, but only asking for the password once (they all have the same password).
i.e , when I write :
Code:
smbmount //comp1/c /comp1/c -o username=user && smbmount //comp1/d /comp1/d -o username=user
it asks for the password twice (and I enter the same password twice).
I want it to ask only once and mount automatically all others without asking.
How can I do that?

Thanks in advance.
 
Old 08-06-2005, 09:03 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You could use a credentials file. Look at the credentials section of "man smbmount".
 
Old 08-06-2005, 11:20 AM   #3
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Original Poster
Rep: Reputation: 30
Thanks.. That was what I wanted
 
  


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
Users & passwords in shared /home partition mikieboy Linux - Newbie 1 02-24-2005 06:26 PM
php & shadow passwords rblampain Linux - Security 7 12-17-2004 10:55 PM
Passwords & Display oldtrout Linux - Newbie 4 12-08-2004 03:43 PM
Logon screen, Users & Passwords. DLM Slackware 7 12-14-2003 02:06 PM
User Names & passwords Backup teeno Linux - General 8 04-07-2003 09:17 AM

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

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration