How can I change my user credentials for accessing shared folders?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I copied this question from Superuser, because it gets views, but not a single answer. Hope this is the way to do it.



In our office we are using shared folders (smb) at different hierarchy levels. I need to jump between (for example) being "martin" and "admin".



Also this is useful when I make a typo in my password and need to start over without re-booting my machine.



In Windows it took me a long time to find, but I can use this command (for example to drop my credentials for a NAS:



net use 192.168.0.nnn /del


Then I restart my File-Explorer and when I access a shared folder I get asked again for my user-name and pw.



Now I am searching for the equivalent when working on a Linux machine please.



When I search for this problem, I find many pages explaining how to change the status/access-rights of a given folder; but nothing on how to change my user for accessing such shared folders, sorry.










share|improve this question





















  • Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
    – Fabby
    Feb 2 at 23:59















up vote
0
down vote

favorite












I copied this question from Superuser, because it gets views, but not a single answer. Hope this is the way to do it.



In our office we are using shared folders (smb) at different hierarchy levels. I need to jump between (for example) being "martin" and "admin".



Also this is useful when I make a typo in my password and need to start over without re-booting my machine.



In Windows it took me a long time to find, but I can use this command (for example to drop my credentials for a NAS:



net use 192.168.0.nnn /del


Then I restart my File-Explorer and when I access a shared folder I get asked again for my user-name and pw.



Now I am searching for the equivalent when working on a Linux machine please.



When I search for this problem, I find many pages explaining how to change the status/access-rights of a given folder; but nothing on how to change my user for accessing such shared folders, sorry.










share|improve this question





















  • Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
    – Fabby
    Feb 2 at 23:59













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I copied this question from Superuser, because it gets views, but not a single answer. Hope this is the way to do it.



In our office we are using shared folders (smb) at different hierarchy levels. I need to jump between (for example) being "martin" and "admin".



Also this is useful when I make a typo in my password and need to start over without re-booting my machine.



In Windows it took me a long time to find, but I can use this command (for example to drop my credentials for a NAS:



net use 192.168.0.nnn /del


Then I restart my File-Explorer and when I access a shared folder I get asked again for my user-name and pw.



Now I am searching for the equivalent when working on a Linux machine please.



When I search for this problem, I find many pages explaining how to change the status/access-rights of a given folder; but nothing on how to change my user for accessing such shared folders, sorry.










share|improve this question













I copied this question from Superuser, because it gets views, but not a single answer. Hope this is the way to do it.



In our office we are using shared folders (smb) at different hierarchy levels. I need to jump between (for example) being "martin" and "admin".



Also this is useful when I make a typo in my password and need to start over without re-booting my machine.



In Windows it took me a long time to find, but I can use this command (for example to drop my credentials for a NAS:



net use 192.168.0.nnn /del


Then I restart my File-Explorer and when I access a shared folder I get asked again for my user-name and pw.



Now I am searching for the equivalent when working on a Linux machine please.



When I search for this problem, I find many pages explaining how to change the status/access-rights of a given folder; but nothing on how to change my user for accessing such shared folders, sorry.







networking samba file-sharing shared-folders






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 1 at 19:13









Martin Zaske

1012




1012











  • Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
    – Fabby
    Feb 2 at 23:59

















  • Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
    – Fabby
    Feb 2 at 23:59
















Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
– Fabby
Feb 2 at 23:59





Welcome! What is the output of lsb_release --code --release ? Leave a comment @Fabby so I get notified.
– Fabby
Feb 2 at 23:59
















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002161%2fhow-can-i-change-my-user-credentials-for-accessing-shared-folders%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002161%2fhow-can-i-change-my-user-credentials-for-accessing-shared-folders%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error