Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo mkdir /mnt/simsamba
- echo "//atlas/data$ /mnt/simsamba cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0" >> sudo tee -a /etc/fstab
- sudo echo "username=$USER" > /root/.credentials
- echo "password=" >> /root/.credentials
- chmod 600 /root/.credentials
- nano /root/.credentials
- # Complete both lines by entering your active-directory username/password and saving it here (no space after the =)
- sudo mount -t cifs -o user=$USER //atlas/data$ /mnt/simsamba
Add Comment
Please, Sign In to add comment