Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 21:36:31 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        julian@elischer.org (Julian Elischer)
Cc:        opentrax@email.com, arch@FreeBSD.ORG
Subject:   Re: Does this sound good? (Fwd: Re: passwd file update functions)
Message-ID:  <200011222136.OAA03830@usr07.primenet.com>
In-Reply-To: <3A1AE456.9F883FE3@elischer.org> from "Julian Elischer" at Nov 21, 2000 01:08:38 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> > > the passwd file update functions in "libutil" don't support using a
> > > directory other than "/etc" for the password database. I would like
> > > to add a new function "pw_prefix(3)" which can be used to set the
> > > prefix. This function could e.g. be used to enhance "vipw" and
> > > "rpc.yppasswdd" to work with directories != "/etc".
> 
> that would be good for Whistle, though by now we have (well, they have)
> workarounds for the fact that / is read-only.. mostly symlinks.

I already use a non-default location for initally setting the
root password in jails created by a creation script I have
written.

If you look at the "pw" command, you'll see it can take a
location other than the default for these files.

If you just use the same mechanism elsewhere, you can get the
same effect; IMO, it's just missing functionality in the passwd
and similar commands.

PS: I had to use "pw" because passwd stupidly insists on being
interactive.  I guess it's "protecting" me from getting my work
done ...er, from shooting my foot.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011222136.OAA03830>