Re: Deleting a user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Probably the problem is in RPM package. Check .spec file to confirm if the user "hacluster" is being created twice.

Amos Shapira wrote:
Hello,

I've compiled linux-ha heartbeat into an RPM but when I try to install
it (after "yum erase heartbeat*") it complains that the user hacluster
still exists:

# rpm -ivh heartbeat-2.1.2-1.x86_64.rpm
Preparing...                ########################################### [100%]
useradd: user hacluster exists
error: %pre(heartbeat-2.1.2-1.x86_64) scriptlet failed, exit status 9
error:   install: %pre scriptlet failed (2), skipping heartbeat-2.1.2-1

I ran "userdel -r hacluster" which just disabled the user login then
edited /etc/passwd and /etc/shadow to remove this user completely, but
I still get this error.

What else can I do to remove this user and help useradd succeed? I'd
rather not force script-skipping if at all possible.

Thanks,

--Amos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux