Lk 5 Samba Server

0 komentar Posted by ,
Lk 5 Samba Server
install samba server
1.apt install libcups2 samba samba-commons cups


2.tekan enter
3.mv /etc/samba/smb.conf  /etc/samba/smb.conf.bak
4.#nano  /etc/samba/smb.conf
   isikan kontent di bawah ini
[global]
wrokgroup= WORKGROUP
server string= Samba Server %v
netbios name=debian
security=users
map to guest=bad user
dns proxy=no




[allusers]
comment= All users
path=/home/shares/allusers
valid users=@users
force group=users
create mask=0660
directory mask=0771
writable=yes

[homes]
comment= Homes Directiries
browseable=no
valid users=%S
writable=yes
create mask=0660
directory mask=0771

[anonymouse]
path=/home/shares/anonymouse
force group=users
create mask=0660
directory mask=0771
browseable=yes
writable=yes
guest ok=yes
5.ctr+o Enter ctrl+x

6.#mkdir -p/home/shares/allusers
7.#chown -R root:users/home/shares/allusers/
8.#mkdir-p /home/shares/anonymous
9.#chown -R root:users/home/shares/anonymouse/
10.#systemctl restart smbd.service


11.#useradd ron -m -G users
12.passwd ron
13.smbpasswd -a ron
    user:ron
    pass:ron
14.di windows 10 tekan tombol widows+r
15.masukan user: ron
    password :ron


















Related Post :

0 Comments for "Lk 5 Samba Server"