mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
去掉备份冗余
This commit is contained in:
@@ -20,7 +20,7 @@ fi
|
||||
id $username &> /dev/null
|
||||
if [ $? != '0' ];then
|
||||
useradd $username
|
||||
ssh -p $host2_port $host2 "useradd $username"
|
||||
#ssh -p $host2_port $host2 "useradd $username"
|
||||
echo $password | passwd --stdin $username
|
||||
else
|
||||
echo "$username have been exits."
|
||||
|
||||
Reference in New Issue
Block a user