发布网友 发布时间:2022-04-25 20:13
共1个回答
热心网友 时间:2022-06-17 02:01
root用户登录,执行:
cd /home/admin
mkdir leixinming
groupadd testgroup
useradd usertest1
passwd usertest1
输入两遍密码usertest
useradd -g testgroup usertest2
passwd usertest2
输入两遍密码usertest
useradd -g root -s /sbin/sh usertest3
passwd usertest3
输入两遍密码usertest
cat /etc/passwd
cat /etc/shadow
cat /etc/group
截图
usertest3用户登录
touch test.txt
chmod 6 test.txt
chgrp testgroup test.txt
第8题按要求做,执行失败的提示没权限