Skip to content
Snippets Groups Projects
Commit caacdbeb authored by Marius Raes's avatar Marius Raes
Browse files

ownership shared

parent 99cb1a6b
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,6 @@ chmod 755 /opt/data
addgroup --system allowssh
addgroup --system sftponly
chown <owern>:allowssh /opt/data/shared
chmod 775 /opt/data/shared
sudo service smbd restart
# creates a user with no no password
......@@ -42,6 +39,9 @@ mkdir /home/project_owner/.ssh/
touch /home/project_owner/.ssh/authorized_keys
echo '<publicKey>' > /home/project_owner/.ssh/authorized_keys
chown <owern>:allowssh /opt/data/shared
chmod 775 /opt/data/shared
adduser <owner> allowssh
adduser <owner> sftponly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment