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錦囊妙計第二版
一般安全性(General Security
|
245
您將還需要確保允許使用
su
命令的任何使用者在
wheel
群組裡,用您最習慣的編輯器打
/etc/group
文件,然後找尋以下的行列:
wheel:*:0:root
假設我希望給使用者
bob
tim
可以存取
wheel
群組,我們將改變該行為這樣:
wheel:*:0:root,bob,tim
6.21 設定使用者密碼有效期限
問題
僅適用於 ESXi 3.5/4.x 您希望使用者密碼在一定的時間後失效,以強制使用者建立一
組新的密碼。
解決方案
建立一個密碼有效期限政策(Aging policy)。
討論
因為 ESX 是一個 Red Hat Linux 的修改版本,所以我們可以利用一些它的工具以協助管
理使用者。在預設的情況下,密碼有效期限政策是利用以下參數設定:
Maximum Days = 90 (default)
Minimum Days = 0 (Allows password changes to occur anytime)
Warning Time = 7 days
當您開始查看您的密碼有效期限策略時,您可能會發現有一些帳戶並無有效期限政策,
例如
vpxuser
root
使用者都有豁免權。
esxcfg-auth
命令允許您透過使用
--passmaxdays
屬性來全域性設定密碼政策,這個命
令提供了非常多種選項,用來調整和修改您在 ESX 伺服器上的驗證相關任務:
usage: esxcfg-auth [options]
options:
--enablemd5 ...
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