Mount multiple shares with a single mount command

Multi tool use
If I have in my fstab 10 shares/mountpoints, is it possible to run only a single mount command to mount them all at the same time just to avoid authenticating myself 10 times? I tried something like
sudo mount /mnt/share1, /mnt/share2, ...
etc but with no luck. Authentication is the same (same username, same password) for all the shares I am trying to mount.
Thanks
14.04 mount
add a comment |
If I have in my fstab 10 shares/mountpoints, is it possible to run only a single mount command to mount them all at the same time just to avoid authenticating myself 10 times? I tried something like
sudo mount /mnt/share1, /mnt/share2, ...
etc but with no luck. Authentication is the same (same username, same password) for all the shares I am trying to mount.
Thanks
14.04 mount
3
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) withssh
).
– sudodus
Dec 11 at 14:55
3
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?
– Soren A
Dec 13 at 13:17
add a comment |
If I have in my fstab 10 shares/mountpoints, is it possible to run only a single mount command to mount them all at the same time just to avoid authenticating myself 10 times? I tried something like
sudo mount /mnt/share1, /mnt/share2, ...
etc but with no luck. Authentication is the same (same username, same password) for all the shares I am trying to mount.
Thanks
14.04 mount
If I have in my fstab 10 shares/mountpoints, is it possible to run only a single mount command to mount them all at the same time just to avoid authenticating myself 10 times? I tried something like
sudo mount /mnt/share1, /mnt/share2, ...
etc but with no luck. Authentication is the same (same username, same password) for all the shares I am trying to mount.
Thanks
14.04 mount
14.04 mount
edited Dec 11 at 16:53
asked Dec 11 at 14:44
pebox11
26229
26229
3
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) withssh
).
– sudodus
Dec 11 at 14:55
3
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?
– Soren A
Dec 13 at 13:17
add a comment |
3
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) withssh
).
– sudodus
Dec 11 at 14:55
3
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?
– Soren A
Dec 13 at 13:17
3
3
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) with
ssh
).– sudodus
Dec 11 at 14:55
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) with
ssh
).– sudodus
Dec 11 at 14:55
3
3
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?– Soren A
Dec 13 at 13:17
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?– Soren A
Dec 13 at 13:17
add a comment |
3 Answers
3
active
oldest
votes
Command you looking for is probably this:
sudo mount -a
I'm not sure how the authentication would work with it but give it a try.
If it doesn't work you can always edit your fstab entry in this way:
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
add a comment |
Put your mount
commands in a bash
script, and sudo
that script.
#!/bin/bash
mount .....
mount .....
mount .....
exit 0
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
add a comment |
You can write a script which takes input for the username and password and applies it to each mount required. The script will need to be run with root level privileges. This also assumes that the mounts are all Samba shares. You'd need to tweak the script to include each of your mount points. With this script you will have to define all of your mount options rather than rely on those in fstab
:
#!/bin/bash
echo "Enter username for mounts:"
read mount_user
[[ -z "mount_user" ]] && echo "Username empty, exiting" && exit
echo "Enter password for mounts:"
read -s mount_pass
[[ -z "mount_pass" ]] && echo "Password empty, exiting" && exit
# Mount first share
mount -t cifs //server1/share1 /mnt/share1 -o username="$mount_user",password="$mount_pass"
# Mount second share
mount ...
Save this script as something like /home/user/mountall
, and execute it with sudo /home/user/mountall
.
This does load your password into memory in plain, and into a variable in the script's running process. Whether that is considered insecure in your environment is a question for your security team.
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100064%2fmount-multiple-shares-with-a-single-mount-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Command you looking for is probably this:
sudo mount -a
I'm not sure how the authentication would work with it but give it a try.
If it doesn't work you can always edit your fstab entry in this way:
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
add a comment |
Command you looking for is probably this:
sudo mount -a
I'm not sure how the authentication would work with it but give it a try.
If it doesn't work you can always edit your fstab entry in this way:
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
add a comment |
Command you looking for is probably this:
sudo mount -a
I'm not sure how the authentication would work with it but give it a try.
If it doesn't work you can always edit your fstab entry in this way:
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
Command you looking for is probably this:
sudo mount -a
I'm not sure how the authentication would work with it but give it a try.
If it doesn't work you can always edit your fstab entry in this way:
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
edited Dec 11 at 14:53
answered Dec 11 at 14:51
Oskar L
775
775
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
add a comment |
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Nope this isn't it, tried that already. Not working
– pebox11
Dec 11 at 14:53
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
Have you tried adding username and password to fstab as I have just edited into the answer ?
– Oskar L
Dec 11 at 14:54
1
1
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
Not permitted from regulations to store credentials on fstab. Not secure.
– pebox11
Dec 11 at 14:58
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
you can always store the credentals in a file under root directory and point fstab to that ?
– Oskar L
Dec 11 at 16:06
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
Still not secure. Credentials are not supposed to exist in a production environment.
– pebox11
Dec 11 at 16:58
add a comment |
Put your mount
commands in a bash
script, and sudo
that script.
#!/bin/bash
mount .....
mount .....
mount .....
exit 0
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
add a comment |
Put your mount
commands in a bash
script, and sudo
that script.
#!/bin/bash
mount .....
mount .....
mount .....
exit 0
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
add a comment |
Put your mount
commands in a bash
script, and sudo
that script.
#!/bin/bash
mount .....
mount .....
mount .....
exit 0
Put your mount
commands in a bash
script, and sudo
that script.
#!/bin/bash
mount .....
mount .....
mount .....
exit 0
answered Dec 11 at 15:01
waltinator
21.8k74169
21.8k74169
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
add a comment |
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
Nope, tried that just now and it is not working. For each mount it asks for your credentials, even if you are the same user. So imagine if you have 20 different folders to mount you will have to authenticate 20 times and if the password is complex then don't even think about it.
– pebox11
Dec 11 at 15:36
add a comment |
You can write a script which takes input for the username and password and applies it to each mount required. The script will need to be run with root level privileges. This also assumes that the mounts are all Samba shares. You'd need to tweak the script to include each of your mount points. With this script you will have to define all of your mount options rather than rely on those in fstab
:
#!/bin/bash
echo "Enter username for mounts:"
read mount_user
[[ -z "mount_user" ]] && echo "Username empty, exiting" && exit
echo "Enter password for mounts:"
read -s mount_pass
[[ -z "mount_pass" ]] && echo "Password empty, exiting" && exit
# Mount first share
mount -t cifs //server1/share1 /mnt/share1 -o username="$mount_user",password="$mount_pass"
# Mount second share
mount ...
Save this script as something like /home/user/mountall
, and execute it with sudo /home/user/mountall
.
This does load your password into memory in plain, and into a variable in the script's running process. Whether that is considered insecure in your environment is a question for your security team.
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
add a comment |
You can write a script which takes input for the username and password and applies it to each mount required. The script will need to be run with root level privileges. This also assumes that the mounts are all Samba shares. You'd need to tweak the script to include each of your mount points. With this script you will have to define all of your mount options rather than rely on those in fstab
:
#!/bin/bash
echo "Enter username for mounts:"
read mount_user
[[ -z "mount_user" ]] && echo "Username empty, exiting" && exit
echo "Enter password for mounts:"
read -s mount_pass
[[ -z "mount_pass" ]] && echo "Password empty, exiting" && exit
# Mount first share
mount -t cifs //server1/share1 /mnt/share1 -o username="$mount_user",password="$mount_pass"
# Mount second share
mount ...
Save this script as something like /home/user/mountall
, and execute it with sudo /home/user/mountall
.
This does load your password into memory in plain, and into a variable in the script's running process. Whether that is considered insecure in your environment is a question for your security team.
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
add a comment |
You can write a script which takes input for the username and password and applies it to each mount required. The script will need to be run with root level privileges. This also assumes that the mounts are all Samba shares. You'd need to tweak the script to include each of your mount points. With this script you will have to define all of your mount options rather than rely on those in fstab
:
#!/bin/bash
echo "Enter username for mounts:"
read mount_user
[[ -z "mount_user" ]] && echo "Username empty, exiting" && exit
echo "Enter password for mounts:"
read -s mount_pass
[[ -z "mount_pass" ]] && echo "Password empty, exiting" && exit
# Mount first share
mount -t cifs //server1/share1 /mnt/share1 -o username="$mount_user",password="$mount_pass"
# Mount second share
mount ...
Save this script as something like /home/user/mountall
, and execute it with sudo /home/user/mountall
.
This does load your password into memory in plain, and into a variable in the script's running process. Whether that is considered insecure in your environment is a question for your security team.
You can write a script which takes input for the username and password and applies it to each mount required. The script will need to be run with root level privileges. This also assumes that the mounts are all Samba shares. You'd need to tweak the script to include each of your mount points. With this script you will have to define all of your mount options rather than rely on those in fstab
:
#!/bin/bash
echo "Enter username for mounts:"
read mount_user
[[ -z "mount_user" ]] && echo "Username empty, exiting" && exit
echo "Enter password for mounts:"
read -s mount_pass
[[ -z "mount_pass" ]] && echo "Password empty, exiting" && exit
# Mount first share
mount -t cifs //server1/share1 /mnt/share1 -o username="$mount_user",password="$mount_pass"
# Mount second share
mount ...
Save this script as something like /home/user/mountall
, and execute it with sudo /home/user/mountall
.
This does load your password into memory in plain, and into a variable in the script's running process. Whether that is considered insecure in your environment is a question for your security team.
edited Dec 12 at 9:54
answered Dec 11 at 17:41


Arronical
13k84790
13k84790
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
add a comment |
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
1
1
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
thanks, trying it now. Is it [[ -z "mount_user" ]] or [[ -z "mount_pass" ]] the second appearance?
– pebox11
Dec 11 at 17:53
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
Not working. Sorry ...
– pebox11
Dec 11 at 21:09
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
@pebox11 edited to correct errors and say to run the whole script with sudo. It does assume your shares are all Samba shares. Let me know if they're not and I'll edit again.
– Arronical
Dec 12 at 9:55
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
Yes all samba. Not my fault if not working to deserve a negative vote. But I guess that's the world! Thanks anyway ...
– pebox11
Dec 14 at 21:30
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100064%2fmount-multiple-shares-with-a-single-mount-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
WgCB4eYSMPEmHM,8Z3jdzyIhQ88RT,Zwdc7sQeOVLqjcq6h dxFFZkb 0TBpWNhNqPXdE 1
3
I think it depends on what is asking for authentication: If your computer, it should be OK, if other computers (servers), maybe more difficult unless you can use keys for authentication (possible (and recommended) with
ssh
).– sudodus
Dec 11 at 14:55
3
You'll need to give more details about what you're mounting and how you authenticate, is the authentication different for every share. It would also be useful to define what constitutes insecure. For instance, when mounting Samba shares it's possible to use a credential file but this is a plain text file on your filesystem containing your username and password. Without this information I think your question won't get answered and is likely to be closed.
– Arronical
Dec 11 at 16:04
sudo mount -a
will mount all not-mounted mountpoints in /etc/fstab, would that do it for you ?– Soren A
Dec 13 at 13:17