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

Re: DB and password, group files --> use only *.db



On Tue, Jul 13, 1999 at 06:26:15PM +0200, Fabien Salvi wrote:
> It is possible, using the Makefile in /var/db to replace the password
> file by the /var/db/passwd.db (idem for group.db, protocols.db,
> services.db, shadow.db and rpc.db).
> 
> It works fine, but how can we directly make user in these db files ?
> 
> There is a passwd DB on cpan perl, but we can't manage to use it.
> 
> Is someone know if there is something on that somewhere ??
> 
> Thanks it advance for your help :-)
> 
> ------------
> Fabien
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Look at /usr/sbin/adduser
It's a perl script that does what you want, so steal the code ;-)
Another benefit of developing under an open source operating system :-)
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org


Reply to: