How to use LDAP passwd at 4.9 ?

Dan Welch welchdw at earthlink.net
Sat Jan 10 12:37:44 PST 2004


On Wed, Jan 07, 2004 at 01:33:14PM +0100, Frank wrote:
> <snip> 
> at last is it possible to modify the /etc/master.passwd
> file with a shell script to add some entries in it the
> modify the passwd database WITHOUT using vipw ?

I use pw in scripts to avoid vipw. From the manpage:
    "The pw utility handles updating the passwd,
    master.passwd, group and the secure and insecure
    password database files, and must be run as root."



More information about the freebsd-questions mailing list