On Thu, Nov 05, 2015 at 02:21:47PM +0100, Martijn Rijkeboer wrote:
> Hi,
> 
> When I try to edit the master.passwd (as root) with vipw I get the
> following error when saving:
> 
>   pwd_mkdb: /etc/spwd.db.tmp to /etc/spwd.db: Operation not permitted

Hi,

We are aware of this problem introduced by sys/kern/kern_pledge.c 1.103.

We are discuting about what will the better way to deal with this
problem.

> Any suggestions on how to fix this?

For now, and as quick-fix, I have disabled the pledge call from
usr.sbin/pwd_mkdb/pwd_mkdb.c

So you can rebuild an reinstall usr.sbin/pwd_mkdb.

Sorry for the inconvenience.
-- 
Sebastien Marie

Reply via email to