摘要: ``` network: version: 2 renderer: networkd ethernets: ## 可以ip a查看以太网连接名称 eth0: dhcp4: no dhcp6: no ## addresses添加网络掩码,如192.168.56.3/24 addresses: - 19 阅读全文
posted @ 2023-08-16 21:03 ChasingDreams 阅读(28) 评论(0) 推荐(0) 编辑
摘要: ``` groupadd -g 1000 siyuan # 禁止登录 不创建家目录 useradd -M -u 1000 -g 1000 -s /sbin/nologin siyuan chown -R siyuan:siyuan /xxxx/siyuan/ usermod -a -G siyuan 阅读全文
posted @ 2023-08-16 15:09 ChasingDreams 阅读(11) 评论(0) 推荐(0) 编辑