Skip to Content
VMWARE錦囊妙計第二版
book

VMWARE錦囊妙計第二版

by Ryan Troy, Matthew Helmke
April 2013
Beginner to intermediate
368 pages
6h 45m
Chinese
GoTop Information, Inc.
Content preview from VMWARE錦囊妙計第二版
222
|
第六章
儲存文件並且藉由下列命令重新啟動
sshd
服務:
service sshd restart
現在 SSH 配置已經完成,您可以編輯
/etc/motd
文件,包括您想要顯示給使用者登入時
的任何資訊,與大多數的 Linux 相仿,您可以用您最習慣的編輯器編輯這些文件,在預
設的情況下,這些文件是空的。
6.6 透過控制台更改 root 密碼
問題
僅適用於 ESXi 3.5/4.x 您想更改
root
密碼。
解決方案
使用
passwd
命令。
討論
ESX 主機上更改
root
使用者密碼,您需要直接透過 SSH 或是控制台登入。您將需要
root
身分或是使用
sudo
命令成為
root
使用者,然後您可以透過以下命令更改密碼:
passwd
如果您是要透過 sudo 來更改密碼:
sudo -s
passwd
您將被要求輸入目前的密碼,並且輸入新密碼,然後再次輸入新密碼以確認密碼是否正
確,您下次登入時便可以使用新密碼了。
6.7 復原丟失的 root 密碼
問題
僅適用於 ESXi 3.5/4.x 您丟失或是遺忘
root
密碼,並且您需要更改它。
212
一般安全性(General Security
|
223
解決方案
透過
sudo
root
身分登入,並且更改密碼,或是編輯 GRUB 選單以在單一使用者模式
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
深度學習|內行人的做法

深度學習|內行人的做法

Josh Patterson, Adam Gibson

Publisher Resources

ISBN: 9789862767443