Go to the content

Junior

Go back to Blog
Full screen

ADICIONANDO, REMOVENDO e LISTANDO USUARIOS NO SAMBA

Marzo 21, 2017 15:23 , by Blog JUNIOR ENG BR - | No one following this article yet.
Viewed 22 times
Olá, hoje alguns comandos simples que ajudam o sysadmin na administração do Samba

PREMISSA (Antes de adicionar os usuários no Samba tenha certeza que eles sejam inseridos no Linux antes).

ADICIONANDO USUÁRIOS NO LINUX
# adduser --disabled-login --no-create-home usuario_linux

ADICIONANDO USUÁRIOS NO SAMBA
# smbpasswd -a usuario_linux

REMOVENDO USUÁRIOS NO SAMBA
# smbpasswd -x usuario_linux

LISTANDO USUARIOS NO SAMBA
# pdbedit -L -v
Source: http://feedproxy.google.com/~r/BlogDoJuniorTi/~3/9ePGyP49kqw/adicionando-removendo-e-listando.html