2017-10-31 CentOS7/UbuntuからWindows10のPCをリモートシャットダウンしてみる CentOS Linux remote shutdown Ubuntu Windows windows 10 リモートシャットダウン 覚書 Windows側 管理者権限+パスワード設定がしているアカウントを作成する(既にある場合はスキップ) TCP:445, 139 を開ける Linux側 コマンドを入れる Debian系:apt install samba-common RHEL系:yum install samba 実行する net rpc shutdown -I ipaddress -U "username%password" -f -t 0 -C "Shutdown"