help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updating users only in passwd file


From: Antoine Jacoutot
Subject: Re: updating users only in passwd file
Date: Mon, 29 Dec 2003 17:25:50 +0100
User-agent: KMail/1.5.3

On Monday 29 December 2003 17:04, Ted Zlatanov wrote:
> There are two ways that I've done this:
>
> 1) keep a "stub" for each machine, overwrite /etc/passwd with it, and
>    append your custom entries then (you can also have a marker in the
>    regular /etc/passwd and edit it in place).  This can be done
>    entirely within cfengine.

Hum, the marker thing looks nice; I wonder how I'm going to be able to do 
this, but I'll sure investigate.

> 2) cfperl (http://lifelogs.com/cfperl) has specific functionality to
>    add/delete/change users with the user{add,del,mod} utilities; I
>    wrote that functionality precisely because I needed what you
>    describe above.

Nice :)
Although, it does not seem to deal with password at all.

> You could also use a network directory service such as LDAP or NIS,
> but I assume you have a reason for locally complete /etc/passwd files.

NIS = unsecure
LDAP = nss does not work under OpenBSD

Thanks for all.
Regards,

Antoine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]