Guest User

Untitled

a guest
Aug 17th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. sudo mkdir /mnt/simsamba
  2. echo "//atlas/data$ /mnt/simsamba cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0" >> sudo tee -a /etc/fstab
  3. sudo echo "username=$USER" > /root/.credentials
  4. echo "password=" >> /root/.credentials
  5. chmod 600 /root/.credentials
  6. nano /root/.credentials
  7. # Complete both lines by entering your active-directory username/password and saving it here (no space after the =)
  8.  
  9. sudo mount -t cifs -o user=$USER //atlas/data$ /mnt/simsamba
Add Comment
Please, Sign In to add comment