linux
文章平均质量分 77
DTran
这个作者很懒,什么都没留下…
展开
-
Ubuntu 自动备份SQLServer
版本ubuntu版本ubuntu18.04SQLServer版本sqlcmd -S localhost -U SA -P 'XXXX' -Q"SELECT @@VERSION"原创 2020-12-09 15:03:16 · 326 阅读 · 0 评论 -
Ubuntu passwd: module is unknown
拿到一台ubuntu18.04,可以创建用户,但是不能更改密码$ passwdpasswd: module is unknown$ tail -n 4 /var/log/auth.logNov 20 04:01:57 ubuntu1804 passwd[32535]: PAM pam_parse: expecting return value; [...requisste]Nov 20 04:01:57 ubuntu1804 passwd[32535]: PAM unable to dlopen(原创 2020-11-20 14:52:30 · 2801 阅读 · 0 评论 -
Ubuntu18.04安装docker并更换镜像源
安装docker更改镜像源https://cr.console.aliyun.com/cn-hangzhou/instances/mirrorshttps://123xxxxx.mirror.aliyuncs.com修改daemon配置文件/etc/docker/daemon.json来使用加速器sudo mkdir -p /etc/dockersudo tee /etc/docker/daemon.json <<-'EOF'{ "registry-mirrors": ["h原创 2020-11-20 10:33:57 · 2337 阅读 · 1 评论 -
ubuntu用户和权限问题
整改方案收到客户打过来的中心问题清单,暂时整理了一点反馈序号问题整改方法1限制root账户登录设置root账户的login shell为nologin(管理员权限用户仍有user1,user2)2admin用户改名用户名admin改为xxx,主组为users,附加组sudo3umask权限点问题002改为022具体操作1. 限制root账户登录sudo vim /etc/passwdroot:x:0:0:root:/root:/bin/bash改原创 2020-11-05 18:34:00 · 1096 阅读 · 0 评论