找回密码
 注册
查看: 700|回复: 3

重建的用户不能登录的问题!!

[复制链接]
发表于 2005-3-28 13:45:22 | 显示全部楼层 |阅读模式
把原来的用户/home/jj 删除了,然后重建了个同名的用户,登录时候出现问题:
“The files that contain your preference settings are currently in
  use.

  You might be logged in to a session from another computer, and the
  other login session is using your preference setting files.

  You can continue to use the current session, but this might cause
  temporary problems wiht the preference settings in the other
  session.

  Do you want to continue?  LOG OUT | CONTINUE”
我当时是这么删除的:
1.userdel jj
2.rm -rf /home/jj
3.useradd jj
4.passwd jj
是不时跟我删除用户的时候没有加-r参数有关?难道没有删除干净么?
请指教!谢了先!
发表于 2005-3-28 16:38:09 | 显示全部楼层
logout 后 在做
回复

使用道具 举报

 楼主| 发表于 2005-3-29 22:53:43 | 显示全部楼层
logout完了就是登录界面了。
原因找到了,应该设置用户的uid跟老用户的一样
useradd -u 500 jj
回复

使用道具 举报

发表于 2005-4-1 13:32:22 | 显示全部楼层
现在删除用户的时候最好用 userdel -r 用户名
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-13 06:14 , Processed in 0.021873 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表