r1 - 13 Aug 2005 - 15:11:14 - IuriDinizYou are here: TWiki >  Personal Web  > SambaLinux

Samba 3.0

Comandos remotos

Comandos úteis do samba3 para gerenciar uma máquina windows ou linux remotamente.

Informações de um servidor:

net -S <IP_OU_NOME_SERVIDOR> rpc info

Desligar uma máquina:

net -U <ADMIN_USER> -S <IP_OU_NOME_SERVIDOR> rpc shutdown

Reiniciar uma máquina:

net -U <ADMIN_USER> -S <IP_OU_NOME_SERVIDOR> rpc shutdown -r

Desligar uma máquina em X segundos:

net -U <ADMIN_USER> -S <IP_OU_NOME_SERVIDOR> rpc shutdown -t <SEGUNDOS>

Verificar a hora em um servidor

net -S <IP_OU_NOME_SERVIDOR> time

Mostrar a fila de impressão nas impressoras

net -U <USER> -S <IP_OU_NOME_SERVIDOR> rap printq

Mostrar usuários logados em um servidor

net -U <USER> -S <IP_OU_NOME_SERVIDOR> rap session

Mostrar compartilhamentos de um servidor

net -U <USER> -S <IP_OU_NOME_SERVIDOR> rpc share

-- IuriDiniz - 13 Aug 2005

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback