Tomb `online / offline` command for LAN sharing via samba
jaromil opened this issue · 0 comments
jaromil commented
Tomb online / offline
command to generate on the fly samba configuration and random password that makes the contents of a tomb accessible on the network, print out a URL to where they can be opened. Example:
tomb online Movies
[*] Sharing tomb contents on LAN: Movies
. Access from URL: smb://192.168.1.66/Movies
. User: $ID
. Pass: Rahm9too
The share should be:
- notified in
tomb list
- have a short pass random generated each time, easy to dictate
- put offline on
tomb close
andslam
- logged with all activity in a log file internal to the tomb
- leave no trace of its presence once offline
- be read-only by default, have an option for read-write (
-o rw
)