会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
libotao
博客园
首页
新随笔
联系
管理
订阅
2022年3月15日
Linux自动切换用户
摘要: Linux自动切换用户 一、创建sh文件 touch su_user.sh 二、下载脚本 yum install -y expect 三、脚本内容 #!/bin/bash# This is our first script.echo 'su user[root]!'expect -c " spawn
阅读全文
posted @ 2022-03-15 10:10 Guyuan-
阅读(350)
评论(0)
推荐(0)
编辑