File Server: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Basic Info= * Web interface at http://files/ * Can also be accessed via samba/SMB with the standard lvl1 credentials. * ssh is also possible, but there is no safety check for..." |
No edit summary |
||
| Line 7: | Line 7: | ||
<pre> | <pre> | ||
sudo apt-get install autofs smbfs | sudo apt-get install autofs smbfs | ||
</pre> | |||
* create autofs config files | |||
** /etc/auto.master | |||
<pre> | |||
/mnt /etc/auto.files --timeout=6000 --ghost | |||
</pre> | |||
** /etc/auto.files | |||
<pre> | |||
z -fstype=smbfs,credentials=/etc/auto.auth ://files/shared | |||
</pre> | |||
** /etc/auto.auth | |||
*** (replace CENSORED with the lvl1 credentials) | |||
<pre> | |||
username=CENSORED | |||
password=CENSORED | |||
</pre> | </pre> | ||
Revision as of 21:58, 22 March 2013
Basic Info
- Web interface at http://files/
- Can also be accessed via samba/SMB with the standard lvl1 credentials.
- ssh is also possible, but there is no safety check for accidentally deleting files this way.
Setting up on Ubuntu
- Prerequisites:
sudo apt-get install autofs smbfs
- create autofs config files
- /etc/auto.master
/mnt /etc/auto.files --timeout=6000 --ghost
- /etc/auto.files
z -fstype=smbfs,credentials=/etc/auto.auth ://files/shared
- /etc/auto.auth
- (replace CENSORED with the lvl1 credentials)
- /etc/auto.auth
username=CENSORED password=CENSORED