daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2018 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo mount -t cifs -o username=myname,password=mypassword //mydomain/share/Users/me /mnt/mydir
  2. # Success
  3. $ printf "username=mynamenpassword=mypasswordn" >> mycreds
  4. $ sudo mount -t cifs -o credentials=mycreds //mydomain/share/Users/me /mnt/mydir
  5. # error 2 (No such file or directory) opening credential file mycreds
  6.    
  7. $ ls -l mycreds
  8. # -rwSr-xr-x. 1 root root 40 Mar 19 18:23 mycreds
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top