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

2022-05-31 Thread hput via openindiana-discuss
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 cou

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

2022-05-31 Thread Udo Grabowski (IMK)
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 jerke

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

2022-05-31 Thread Rich Teer
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!

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

2022-05-31 Thread Till Wegmueller
Hi A quick and dirty way of regenerating without your changes to the system is. 0. Create a backup boot environment where you still can log in. 1. Be logged in as root. 2. backup the files "mv /etc/passwd{,.bak}" for /etc/group /etc/passwd and /etc/shadow. use mv so the files are not present fo

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

2022-05-31 Thread hput via openindiana-discuss
Till Wegmueller writes: > Hi > > A quick and dirty way of regenerating without your changes to the system is. > > 0. Create a backup boot environment where you still can log in. > 1. Be logged in as root. > 2. backup the files "mv /etc/passwd{,.bak}" for /etc/group /etc/passwd > and /etc/shadow.

Re: [OpenIndiana-discuss] Strange (?) error

2022-05-31 Thread Apostolos Syropoulos via openindiana-discuss
The maintainer of apgnasm answered as follows to the same question: I'm afraid I can't offer much help with non-Linux OS's, but this right here: but it set boost_program_options_FOUND to FALSE so package "boost_program_options" is considered to be NOT FOUND Indicates to me that what's being fou

Re: [OpenIndiana-discuss] Strange (?) error

2022-05-31 Thread Till Wegmueller
Hey Apostolos Here are the Compile options in boost that we set [0] Do you need additional ones? [0] https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/library/boost/Makefile#L47-L72 Greetings Till On 31/05/2022 14.20, Apostolos Syropoulos via openindiana-discuss wrote: