帳號:
檔案:
  /etc/passwd 
格式:
  id:password:uid:gid:full_name:Home Directory:Login shell
範例
  xguest:x:500:500:Guest:/home/xguest:/bin/bash
LDAP 欄位對應表
/etc/passwd objectClass: posixAccount
id uid
password userPassword
uid uidNumber
gid gidNumber
full_name gecos
Home Directory homeDirectory
Login shell loginShell
 
 

密碼:
檔案:
  /etc/shadow 
格式:
  username:passwd:last:may:must:warn:expire:disable:reserved
範例
  xguest:$6$3gM2Fgc/8vh3h:16147:0:99999:7:::
LDAP 欄位對應表
/etc/shadow objectClass: shadowAccount
username uid
password userPassword
last shadowLastChange
may shasowMin
must shasowMax
wrn shadowWarning
EXPIRE shadowExpire
disable shadowInactive
reserved shadowFlag
 
 
群組:
檔案:
  /etc/group 
格式:
  group name:password:group id:other account
範例
  xguest:x:500:
LDAP 欄位對應表
/etc/group objectClass: posixGroup
group Name cn
password userPassword
group id gidNumber
other account gidNumber
 
 
 
arrow
arrow
    文章標籤
    Linux Server OpenLDAP
    全站熱搜
    創作者介紹
    創作者 SparkTsai 的頭像
    SparkTsai

    史巴克點菜館

    SparkTsai 發表在 痞客邦 留言(0) 人氣()