Last active
August 29, 2015 14:04
-
-
Save cmpscabral/111b1d2a44ae9a9c030c to your computer and use it in GitHub Desktop.
create samba shares
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(install samba) | |
> apt-get install samba-common-bin samba | |
(create group sambashare) | |
> groupadd sambashare | |
(add current user to group sambashare) | |
> adduser `whoami` sambashare | |
(create share) | |
> net usershare add <sharename" <folder> "<description>" everyone:F guest_ok=y | |
(check if it's working) | |
> net usershare info --long |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment