- 博客(4)
- 收藏
- 关注
原创 Linux删除用户报错,userdel: user xxx is currently used by process 1
特殊情况下用usermod把用户号改为0,再想要删除就会出现上述情况。删除里面关于想要删除的用户的信息,保存,最后删掉家目录即可。/etc/passwd 用户信息文件。/etc/shadow 密码文件。/etc/group 用户组文件。/etc/gshadow 组密码。使用vim或vipw等打开以下文件。
2024-11-01 16:05:10
451
原创 VS安装前进行mklink,把原本会安装在C盘内的文件链接到其他位置
【代码】VS安装前进行mklink,把原本会安装在C盘内的文件链接到其他位置。
2024-01-03 15:15:13
640
1
原创 c语言 求24小时制时间间隔
#include <stdio.h>int main(){ int a1, b1, c1, a2, b2, c2; int s1, s2, s3; int a3, b3, c3; scanf("%d:%d:%d", &a1, &b1, &c1); scanf("%d:%d:%d", &a2, &b2, &c2); s1 = a1 * 3600 + b1 * 60 + c1; s2 .
2021-10-06 21:35:33
3022
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅