Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /sbin/mount -t cifs -o user=<WindowsUser>,password=<WindowsPassword>,uid=<UIDtoOwnFilesOnLinux>,gid=<GIDtoOwnFilesOnLinux> //WindowsMachine/Shared/Folder /mount/point/on/linux
- #file stored as e.g. /etc/sudoers.d/remoteaccess
- linux_user ALL=NOPASSWD: /sbin/mount -t cifs <and so on: command exactly as above!>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement