FreeIPA : उपयोगकर्ता खाता प्रबंधन2023/10/16 |
यह उपयोगकर्ता खाता प्रबंधन का मूल संचालन है।
|
|
[1] | FreeIPA उपयोगकर्ता खाते जोड़ें। |
[root@dlp ~]# ipa user-add fedora --first=Fedora --last=Linux --password
Password: # सांकेतिक शब्द लगना
Enter Password again to verify:
-------------------
Added user "fedora"
-------------------
User login: fedora
First name: Fedora
Last name: Linux
Full name: Fedora Linux
Display name: Fedora Linux
Initials: FL
Home directory: /home/fedora
GECOS: Fedora Linux
Login shell: /bin/bash
Principal name: fedora@IPA.SRV.WORLD
Principal alias: fedora@IPA.SRV.WORLD
User password expiration: 20230427052501Z
Email address: fedora@ipa.srv.world
UID: 961400003
GID: 961400003
Password: True
Member of groups: ipausers
Kerberos keys available: True
|
[2] | FreeIPA उपयोगकर्ता खाते का पासवर्ड बदलें। |
[root@dlp ~]# ipa passwd fedora New Password: Enter New Password again to verify: ------------------------------------------- Changed password for "fedora@IPA.SRV.WORLD" ------------------------------------------- |
[3] | FreeIPA उपयोगकर्ता खातों को लॉक या अनलॉक करें। |
[root@dlp ~]# ipa user-disable fedora ------------------------------ Disabled user account "fedora" ------------------------------[root@dlp ~]# ipa user-enable fedora ----------------------------- Enabled user account "fedora" ----------------------------- |
[4] | FreeIPA उपयोगकर्ता खाते खोजें। |
[root@dlp ~]# ipa user-find fedora -------------- 1 user matched -------------- User login: fedora First name: Fedora Last name: Linux Home directory: /home/fedora Login shell: /bin/bash Principal name: fedora@IPA.SRV.WORLD Principal alias: fedora@IPA.SRV.WORLD Email address: fedora@ipa.srv.world UID: 961400003 GID: 961400003 Account disabled: False ---------------------------- Number of entries returned 1 ----------------------------[root@dlp ~]# ipa user-show --raw fedora uid: fedora givenname: Fedora sn: Linux homedirectory: /home/fedora loginshell: /bin/bash krbcanonicalname: fedora@IPA.SRV.WORLD krbprincipalname: fedora@IPA.SRV.WORLD mail: fedora@ipa.srv.world uidnumber: 961400003 gidnumber: 961400003 nsaccountlock: FALSE has_password: TRUE has_keytab: TRUE |
[5] | FreeIPA उपयोगकर्ता खाते हटाएँ। |
[root@dlp ~]# ipa user-del fedora --------------------- Deleted user "fedora" --------------------- |
[6] | FreeIPA समूह खाते जोड़ें। |
[root@dlp ~]# ipa group-add --desc='Development Group' development ------------------------- Added group "development" ------------------------- Group name: development Description: Development Group GID: 103400011 |
[7] | FreeIPA समूह खाते में सदस्यों को जोड़ें। |
[root@dlp ~]# ipa group-add-member --users=redhat development Group name: development Description: Development Group GID: 103400011 Member users: redhat ------------------------- Number of members added 1 ------------------------- |
[8] | FreeIPA समूह को FreeIPA समूह में जोड़ें। |
[root@dlp ~]# ipa group-add-member --groups=development hiroshima Group name: hiroshima Description: Hiroshima Group GID: 103400012 Member groups: development Indirect Member users: redhat ------------------------- Number of members added 1 ------------------------- |
[9] | FreeIPA समूह खाते खोजें। |
[root@dlp ~]# ipa group-find development --------------- 1 group matched --------------- Group name: development Description: Development Group GID: 103400011 ---------------------------- Number of entries returned 1 ---------------------------- |
[10] | FreeIPA समूह खाते हटाएँ। |
[root@dlp ~]# ipa group-del hiroshima ------------------------- Deleted group "hiroshima" ------------------------- |
Sponsored Link |
|