Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo 'Enter the SMB password:'
- read -s password
- sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
- sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
- sudo mount -t cifs //server/path /home/nmide/someplace -o username=someuser,gid=1000,uid=1000,password="$password"
- 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