User Tools

Site Tools


system_administration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
system_administration [2019/12/28 19:56]
c0rn3j [Samba(file sharing)]
system_administration [2019/12/28 19:56] (current)
c0rn3j [Samba(file sharing)]
Line 655: Line 655:
 smbclient -L //​192.168.1.10 -U% - list public shares on a server smbclient -L //​192.168.1.10 -U% - list public shares on a server
  
-sudo mount //​192.168.1.10/​homes /mnt/DOLPHIN/ -o user=c0rn3j - example: Mount the home of user c0rn3j to /mnt/DOLPHIN/+sudo mount //​192.168.1.10/​homes /mnt/dolphin/ -o user=c0rn3j - example: Mount the home of user c0rn3j to /mnt/dolphin/
 ``` ```
 Mounting every time is tedious though, let's add an entry to fstab to mount it on boot. First we'll need to store the credentials safely though. Mounting every time is tedious though, let's add an entry to fstab to mount it on boot. First we'll need to store the credentials safely though.
Line 670: Line 670:
  
 ``` ```
-//​192.168.1.100/dolphin /mnt/DOLPHIN ​cifs auto,​x-systemd.automount,​_netdev,​credentials=/​mnt/​credentials 0 0+//​192.168.1.10/dolphin /mnt/dolphin ​cifs auto,​x-systemd.automount,​_netdev,​credentials=/​mnt/​credentials 0 0
 ``` ```
  
system_administration.txt ยท Last modified: 2019/12/28 19:56 by c0rn3j