hi peng cheng zhu,
the packimage will update the "<rootimgdir>/etc/shadow" and hence the /etc/shadow in the provisioned diskless node according to your passwd table , you can rerun packimage and check whether the file is updated
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
----- Original message -----
From: Xiao Peng Wang/China/IBM
To: CSTL xCAT - All@WWPDL
Cc:
Subject: Fw: [xcat-user] netboot image problem with passwd table not set
Date: Thu, Oct 26, 2017 10:13 PM
This question from Chinese, could someone take a look?
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)Manager for HPC SW Dev: xCAT, ESSL, SMI, TestIBM China Systems Laboratory (CSL)
Tel: 86-10-82453455
Email: w...@cn.ibm.com----- Original message -----
From: "peng cheng zhu" <pen...@126.com>
To: xcat-user@lists.sourceforge.net
Cc:
Subject: [xcat-user] netboot image problem with passwd table not set
Date: Thu, Oct 26, 2017 9:24 PM
hi ,alltoday I try to use the xcat 2.13.7 to build a diskless imageand I forget to restore the default table from /opt/xcat/share/xcat/templates/e1350/so the passwd table is emptywhen I build the diskless image ,the /etc/shadows show here :[root@node24 ~]# cat /etc/shadow
root:cluster:13880:0:99999:7:::
bin:*:16925:0:99999:7:::
daemon:*:16925:0:99999:7:::
adm:*:16925:0:99999:7:::
lp:*:16925:0:99999:7:::
sync:*:16925:0:99999:7:::the correct one should be as below[root@node21 ~]# cat /etc/shadow
root:$5$TtGRLeW1$owEXNhmE2l1GkF58.SD1C4KR6E7nRTALs7kG9Xxpl//:13880:0:99999:7:::
bin:*:17110:0:99999:7:::
daemon:*:17110:0:99999:7:::
adm:*:17110:0:99999:7:::
lp:*:17110:0:99999:7:::
sync:*:17110:0:99999:7:::
shutdown:*:17110:0:99999:7:::now I have restore the passwd tables ,and try to run genimae /packimage base on current status ,but not work ,if I don't want to remove the netboot image and rebuild from crash ,is there any way to make the root password to "cluster" ?I found this because when I run rcons to login the node failed ,thanks for everybody that take time to take a look at my questions ,thanks------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=178VMrolfAlMh59RUGWQ4w&m=-pg1uUzwg7KY3fSUd0l1IHwYMdWyoIa5hJ067raLEds&s=iUm-B_ZxK5xH5dhRJNxE3T2ZvJe1ryTY4WD7IpWIX4M&e=_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=178VMrolfAlMh59RUGWQ4w&m=-pg1uUzwg7KY3fSUd0l1IHwYMdWyoIa5hJ067raLEds&s=wR922IEPD_Hm7p0wd8Q7EU7cGMeWXg7Pw-CwaXNzsdk&e=
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user