File Server: Difference between revisions
Jump to navigation
Jump to search
| Line 22: | Line 22: | ||
username=CENSORED | username=CENSORED | ||
password=CENSORED | password=CENSORED | ||
</pre> | |||
* run the following: | |||
<pre> | |||
sudo chmod 400 /etc/auto.auth | |||
sudo service autofs restart | |||
</pre> | </pre> | ||
Revision as of 22:01, 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)
username=CENSORED password=CENSORED
- run the following:
sudo chmod 400 /etc/auto.auth sudo service autofs restart