如果是centos,rhel 系列,这两个命令都是以来 shadow-utils 包,yum -y install shadow-utils 一下就OK。
yum -y install shadow-utils
怎么不可以使用