Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Configuração do Samba no Debian Jessie

No description
by

Everton Anjos

on 29 February 2016

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Configuração do Samba no Debian Jessie

#mkdir -p /home/samba/grupo
#addgroup grupo
#chown -R root:grupo /home/samba/grupo/
#chmod -R ug+rwx,o+rx-w /home/samba/#grupo/
Adicionando compartilhamentos
#apt-get install libcups2 samba samba-common cups
Preparação
[global]
workgroup =
WORKGROUP*
server string = Samba Server %v
netbios name =
debian
security = user
map to guest = bad user
dns proxy = no
Configurações Globais
#useradd zeus -m -G grupo
#passwd zeus
#smbpasswd -a zeus
Adicionando e Gerenciando Usuários
Dúvidas??
#mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
#nano /etc/samba/smb.conf
#systemctl restart smbd.service
Reinicie o Serviço
#mkdir -p /home/samba/publico
#chown -R root:grupo /home/samba/publico/
#chmod -R ug+rwx,o+rx-w /home/samba/publico/
Editar o smb.conf
#nano /etc/samba/smb.conf
[grupo]
comment = Acesso para usuarios do grupo
path = /home/samba/grupo
valid users = @grupo
force group = grupo
create mask = 0660
directory mask = 0771
writable = yes
Compartilhamento de Grupo
[publico]
path = /home/samba/publico
force group = grupo
create mask = 0660
directory mask = 0771
browseable =yes
writable = yes
guest ok = yes
[homes]
comment = Diretorio home
browseable = no
valid users = %S
writable = yes
create mask = 0700
directory mask = 0700
Diretório home
Compartilhamento anônimo
Configuração do Samba no Debian Jessie
#systemctl restart smbd.service
Reinicie o Serviço
Ou o endereço \\IP \\IP\zeus
para acessar pasta home do usuário
Acessando Samba no Win
\\debian
No Windows:
notepad C:\Windows\System32\drivers\etc\hosts
10.4.100.100 debian.examplo.com debian
Instalação
*net config workstation
No Win:
net use
net use \\debian /delete
Desconectando usuário
Verificando usuários
#smbstatus
Full transcript