[OpenIndiana-discuss] useradd - strange behaviour

Boris Epstein borepstein at gmail.com
Tue Oct 30 16:25:15 UTC 2012


Alexander,

Thanks. Just did:


root at zeus:~# pwck

lp:x:71:8:Line Printer Admin:/usr/spool/lp:
        Login directory not found

uucp:x:5:5:uucp Admin:/usr/lib/uucp:
        Login directory not found

nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
        Login directory not found
        Optional shell file not found
root at zeus:~# grpck
root at zeus:~#

Nothing particularly bad detected, as far as I can tell.

Boris.

On Tue, Oct 30, 2012 at 12:21 PM, Alexander Eremin <
alexander.r.eremin at gmail.com> wrote:

> Try pwck and grpck
>
> Alexander
>
> On Oct 30, 2012, at 8:13 PM, Boris Epstein <borepstein at gmail.com> wrote:
>
> > Hello all,
> >
> > I am running OpenIndiana 11 64-bit (SunOS 5.11) and somehow I get the
> > following error when I attempt to use useradd:
> >
> > root at zeus:~# useradd -d  /s1pool/postgres/ -g postgres -s /usr/bin/bash
> > postgres
> > UX: useradd: ERROR: Inconsistent password files.  See pwconv(1M).
> > root at zeus:~#
> >
> > Both /etc/passwd and /etc/shadow are there and look OK. What am I doing
> > wrong?
> >
> > Thanks.
> >
> > Boris.
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the OpenIndiana-discuss mailing list