On 31/05/2022 17:53, hput via openindiana-discuss wrote:
Messing around beyond my capabilities I've managed to create a
situation where I cannot add a user:
useradd -m reader
UX: useradd: ERROR: Inconsistent password files. See pwconv(8).
Running `pwconv' seems not to do a thing.
I've jerked around with the files so much this morning I doubt I could really
recount all I've tried. (/etc/passwd /etc/opasswd /etc/group /etc/ogroup)
I know at one point I renamed /etc/passwd to see is pwconv would
rebuld it... no such thing.
This is oi just updated, running in a vboxvm and even though it
wouldn't be a disaster to just reinstall... I have done a fair bit of
work getting it ready before I became idiotised.
Is there some way to fix this short of reinstall?
In a standard situation, /etc/passwd and shadow should have the
same number of lines, and the same sequence of user IDs.
--
Dr.Udo Grabowski Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss