Saturday, November 28, 2009

Linux Samba Sharing Microsoft Network

//create client session
Smbclient –L //servidor –U utilizador

//montar pasta da rede na pasta local “partilha” do utilizador local “ubuntupc”
Smbmount //servidor/public /home/ubuntopc/partilha –o username=ubuntopc

//remover pasta de rede previamente montada na pasta local “partilha”
Smbumount /home/ubuntupc/partilha

//definir password de acesso à partilha
Smbpasswd
-a add user
-d deactivate user
-e activate user
-r change password
-U change username
-x remove user from file

these commands might need downloading:
"sudo apt-get install smbmount"

No comments:

Post a Comment