AIX 6 加密文件系统(Encrypted File System),第 4 部分:用户管理(下)
2008-09-06 08:20:07 来源:WEB开发网 闂傚倸鍊搁崐鎼佸磹閹间礁纾归柟闂寸绾惧綊鏌熼梻瀵割槮缁惧墽鎳撻—鍐偓锝庝簻椤掋垺銇勯幇顖毿撻柟渚垮妼椤粓宕卞Δ鈧獮濠勭磽閸屾艾鈧懓顫濋妸鈺佺疅缂佸顑欓崥瀣煕椤愵偅绶氱紓鍐╂礋濮婂宕掑▎鎴М濠电姭鍋撻梺顒€绉甸幆鐐哄箹濞n剙濡肩紒鎰殜閺屸€愁吋鎼粹€茬敖婵炴垶鎸哥粔鐢稿Φ閸曨垰鍐€妞ゆ劦婢€濞岊亪姊虹紒妯诲蔼闁稿海鏁诲濠氭晲婢跺﹤宓嗛梺缁樺姈缁佹挳宕戦幘璇叉嵍妞ゆ挻绋戞禍鐐叏濡厧浜鹃悗姘炬嫹

为进程授予安全凭据
在示例 2 中,我们提供了为特定进程授予安全凭据的一个示例,如下所述:
以 root 用户的身份登录系统。当前进程中没有加载任何密钥。
运行 efskeymgr -o ksh 命令,以创建一个新的 Shell,并将密钥加载到这个进程中。
验证在刚创建的新的 Shell 中,确实加载了密钥。
示例 2 为新的 Shell 加载密钥
# efskeymgr -V
There is no key loaded in the current process.
# efskeymgr -o ksh
root's EFS password:
# efskeymgr -V
List of keys loaded in the current process:
Key #0:
Kind .....................User key
Id (uid / gid) ......... 0
Type .....................Private key
Algorithm ................RSA_1024
Validity .................Key is valid
Fingerprint ..............
59da6d2f:86c1295d:e6752cf5:73bde901:679ef770
Key #1:
Kind .....................Group key
Id (uid / gid) ......... 7
Type .....................Private key
Algorithm ................RSA_1024
Validity .................Key is valid
Fingerprint ..............
973bc437:3e06bf57:a17b1fec:eb815727:950894e3
Key #2:
Kind .....................Admin key
Id (uid / gid) ......... 0
Type .....................Private key
Algorithm ................RSA_1024
Validity .................Key is valid
Fingerprint ..............
32c9aff2:552a5a87:7e5bd819:e05d938e:21a077bf
更多精彩
赞助商链接