daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2018 88 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
Top