[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adduser adding to a different master.passwd
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Adduser adding to a different master.passwd
- From: Jeff Bachtel <jeff_(_at_)_cepheid_(_dot_)_org>
- Date: Fri, 31 Aug 2001 12:12:31 -0500
adduser is perl.
So, time to break out the perl book.
Although, you might not need to make any source changes (but instead
create an adduser.conf, man 8 adduser). You'll still probably need to
know a bit of perl to understand what variables to set, as I do not
see an adduser.conf manpage (it appears there was supposed to be one
at one time, that never got written).
jeff
On Fri, Aug 31, 2001 at 09:38:00AM -0700, Peter Hessler wrote:
> I am trying to create a secure system, and in doing so, have removed
> the passwd function and interactive shell use from it. (it's a
> chrooted environment, but that is not my only security, but another
> obstacle for the potential cracker to get past) But I need to be able
> to add users to it. I found how to get master.passwd to re-populate in
> the correct dir with pwd_mkdb, but I don't know how to get adduser to
> use that new directory. I would like to avoid having adduser and a
> real shell in the chrooted environment, and I didn't see how to get
> adduser to use a different directory for the master.passwd. Is it time
> to break out the source code and learn C while I do this?
>
> =====
> Peter Hessler
> <yodadoa_(_at_)_yahoo_(_dot_)_com>
--
Jeff Bachtel (root_(_at_)_ISC,TAMU) http://www.cepheid.org/~jeff
[finger jeff_(_at_)_cepheid_(_dot_)_org for PGP key]
Visit your host, monkey.org