UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).

本文详细介绍了在Solaris10上使用useradd命令创建Oracle用户时遇到的UX:useradd:ERROR:Inconsistentpasswordfiles错误。通过检查/etc/user_attr文件并删除oracle用户条目解决了该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).

Recently I was trying to create an Oracle user on Solaris 10 and i got this error while giving useradd command.

bash-3.2# useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle
UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).
bash-3.2#

To resolve this error i did some search and find out to verify content of /etc/passwd file along with /etc/shadow file, however it did not resolve my error. Basically we need to see if we had this user before and deleted it for some reason, however in my case it was not the case.

Then i came to know one important file which we should check is /etc/user_attr.

I checked the content of this file and found oracle user is already there – (I did not remember if i created it or updated this file ever, but it was there).

12

I edited this file and removed the oracle entry. Now my file was like below:

23

Now try creating the user and it went well without any problem.

34

So now we have an entry in /etc/passwd and /etc/shadow file.

Hope it helps…

原文链接地址:https://getsomeoracle.wordpress.com/2015/08/04/ux-useradd-error-inconsistent-password-files-see-pwconv1m/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值