[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-tech
Subject: Re: How to add users with a Perl script?
From: chuck <chuck () Yerkes ! com>
Date: 1999-11-24 8:07:27
[Download RAW message or body]
Quoting Pete Fritchman (petef@databits.net):
> A much better way.
> Make the /etc/master.passwd entry with your perl script.
> Then, run "pwd_mkdb -p /etc/master.passwd" and all the password db's are
> updated according to master.passwd.
> Then make home directories, or whatever else you have to do w/your perl
> script.
> I've been using this for about 2 months and it's working fine
As long as you don't make a mistake. AS long as locking isn't an issue
(you MUST HANDLE LOCKING). Otherwise, it's fine. But adduser does
just dandy.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic