![從 Linux 用戶端更改 VPN 密碼](https://rvso.com/image/1388383/%E5%BE%9E%20Linux%20%E7%94%A8%E6%88%B6%E7%AB%AF%E6%9B%B4%E6%94%B9%20VPN%20%E5%AF%86%E7%A2%BC.png)
我在 Linux 電腦上使用 NetworkManager 連線到 VPN。使用者名稱/密碼是用作 Windows 憑證的使用者名稱/密碼。
我想更改密碼。在 IT 部門,他們說從 Windows 可以透過 ctrl+alt+delete 並使用網域使用者來完成。但我只能在 Linux 上工作,這可以在我的電腦上完成嗎?
答案1
您可以使用smbpasswd
用法:
smbpasswd -r <domain-server> -U <user name>
Change Windows Domain password from Linux
If you use Linux in a Windows domain and there are N days to expiry, this is how you can change it without resorting to a windows machine.
我沒有測試過這個。