[OpenIndiana-discuss] useradd - strange behaviour
Boris Epstein
borepstein at gmail.com
Tue Oct 30 16:34:22 UTC 2012
root at zeus:~# wc -l /etc/passwd /etc/shadow
29 /etc/passwd
29 /etc/shadow
58 total
root at zeus:~#
I looked at the content, too - and, while it is possible I missed
something, it looked quite normal to me.
Boris.
On Tue, Oct 30, 2012 at 12:31 PM, Alexander Eremin <
alexander.r.eremin at gmail.com> wrote:
> Well, next round could be : wc -l /etc/passwd /etc/shadow
>
>
> Alexander
>
> On Oct 30, 2012, at 8:25 PM, Boris Epstein <borepstein at gmail.com> wrote:
>
> > 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
> > _______________________________________________
> > 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