一.发现问题: 有技术人员离职,需要删除系统帐号,但是进行删除操作的时候报:" userdel: user zhoulijiang is currently used by process 1 " # userdel -r zhoulijiang userdel: user zhoulijiang is currently used by process 二.问题原因: 因为特殊需求,此用户的UID当时修改为0了. # cat /etc/passwd | grep zhoulijian…
Description of the problem: When you tried to drop a user, you got this message: Error: 15138 The database principal owns a schema in the database, and cannot be dropped. Cause: That means, you are trying to drop a user owning a schema. In order to d…
在学习drop方法删除用户时,按照书上讲的一直没操作成功,后来到网上查了点其他资料,才弄明白drop的方法,贴出来和大家分享一下. (方法一)drop user 用户名; 语法:drop user 用户名; 作用:删除已经存在的用户,例如要删除yan这个用户,(drop user yan;)默认删除的是yan@"%"这个用户,如果还有其他用户,例如yan@"localhost",yan@"ip",则不会一起被删除.如果只存在一个用户yan@&qu…
修改主机名:vim /etc/sysconfig/network 1.添加用户,首先用adduser命令添加一个普通用户,命令如下: #adduser tommy //添加一个名为tommy的用户 #passwd tommy //修改密码 Changing password for user tommy. New UNIX password: //在这里输入新密码 Retype new UNIX password: //再次输入新密码 passwd: all authenticat…