mtree wants them to be:
# grep ^pwd.db /etc/mtree/*
/etc/mtree/special:pwd.db               type=file mode=0444 uname=root
gname=wheel optional



2013/5/7 noah pugsley <noah.pugs...@gmail.com>

> On Mon, May 6, 2013 at 6:31 PM, Ted Unangst <t...@tedunangst.com> wrote:
>
> > On Mon, May 06, 2013 at 22:06, Friedrich Locke wrote:
> >
> > > e = errno, errno = 0;
> > > p = getpwuid(0);
> > > if (errno) {
> > > fprintf(stdout, "errno is: %u\n", errno);
> > >
> > > sioux@lion$ ./pw
> > > errno is: 13
> > > sioux@lion$
> > >
> > >
> > > Any ideia why openbsd implementation of getpwuid returns error ?
> >
> > That is not how the man page says you check for getpwuid errors.
> >
> >
> Bad error checking regardless (and whether I'm qualified to comment aside),
> it should have worked. What are the permissions for /etc/pwd.db?
>
>


-- 
May the most significant bit of your life be positive.

Reply via email to