安装对应的软件包
[root@hds /]# yum install samba samba-client -y
配置四个无法登录的用户
[root@hds /]# useradd -s /sbin/nologin tom
[root@hds /]# useradd -s /sbin/nologin jerry
[root@hds /]# useradd -s /sbin/nologin jack
[root@hds /]# useradd -s /sbin/nologin man
useradd: group man exists - if you want to add this user to that group, use -g.
将man用户移动至man组即可
查看man组ID