Advertisement
Guest User

Untitled

a guest
Aug 4th, 2016
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #!/bin/bash
  2. echo 'Enter the SMB password:'
  3. read -s password
  4. sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
  5. sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
  6. sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
  7. sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement