diff --git a/shell.sh b/shell.sh index ea750dc..f1b965c 100644 --- a/shell.sh +++ b/shell.sh @@ -1,7 +1,9 @@ #!/bin/bash sudo groupadd testgroup +echo "加了testgroup组" sudo useradd testuser +echo "加了testuser用户" sudo usermod -aG testgroup testuser - +echo "将testuser加入到testgroup中" read \ No newline at end of file