Guest User

Untitled

a guest
Mar 2nd, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sudo mount -t cifs //192.168.1.103/MobileTeste /mnt/MobileTeste -w -o "username=Lucas,password=`cat ./senhaRede.txt`,file_mode=0700,vers=1.0,dir_mode=0700,uid=`grep lucas /etc/passwd | cut -d: -f3`,gid=`grep lucas /etc/passwd | cut -d: -f4`"
  4. sudo mount -t cifs //192.168.1.103/ServerNode /mnt/ServerNode -w -o "username=Lucas,password=`cat ./senhaRede.txt`,vers=1.0,uid=`grep lucas /etc/passwd | cut -d: -f3`,gid=`grep lucas /etc/passwd | cut -d: -f4`"
  5. sudo mount -t cifs //192.168.1.103/Sites /mnt/Sites -w -o "username=Lucas,password=`cat ./senhaRede.txt`,vers=1.0,uid=`grep lucas /etc/passwd | cut -d: -f3`,gid=`grep lucas /etc/passwd | cut -d: -f4`"
  6. sudo mount -t cifs //192.168.1.103/Publico /mnt/Publico -w -o "username=Lucas,password=`cat ./senhaRede.txt`,vers=1.0,uid=`grep lucas /etc/passwd | cut -d: -f3`,gid=`grep lucas /etc/passwd | cut -d: -f4`"
Add Comment
Please, Sign In to add comment