/etc/login.defs
---------------------------
useradd footstep
/etc/passwd[- bak]
/etc/shadow[- bak] # man 5 shadow
/etc/group[- bak]
/etc/gshadow[- bak]
/home/footstep
/var/mail/footstep
cp -r /etc/skel/.* /home/footstep
chown -R footstep.footstep /home/footstep
-----------------------------
userdel -r footstep
-----------------------------
id # uid,gid,groups
users 显示当前系统登陆的用户
w 当前登录本机的用户及运行程序
last 查看用户的登录日志
lastlog 查看每个用户的登录日志
finger footstep 查看用户信息plan,mail(yum install finger)