[OpenIndiana-discuss] How to straighten out an /etc/passwd /etc/opasswd mess I've created

Rich Teer rich at richjen.ca
Tue May 31 16:00:41 UTC 2022


On Tue, 31 May 2022, hput via openindiana-discuss wrote:

Hi there,

> 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)

First things first: You should NEVER manually touch any of those files!  Always
use the appropriate commands instead (useradd/groupadd, etc.).

> Is there some way to fix this short of reinstall?

I think that might be your best option, assuming you don't have a working backup
or snapshot to which you can revert.

Cheers,

-- 
Rich Teer



More information about the openindiana-discuss mailing list