在linux上定时修改root密码,以邮件形式发送给使用者
摘要:一、准备条件 1、服务器连上外网 2、需要事先安装sendmail [root@slave ~] # mail -s "test" 111111@qq.com < /tmp/user.log 如果报下面错误 -bash: mail: command not found 是因为 mailx 和 who
阅读全文
posted @ 2021-03-31 18:47
posted @ 2021-03-31 18:47
posted @ 2021-03-30 11:39
posted @ 2021-03-15 19:06