Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 17:17:25 +0100
From:      "Jamie Heckford" <jamie@tridentmicrosystems.co.uk>
To:        <freebsd-hackers@freebsd.org>
Subject:   Creating Passwords from a perl script
Message-ID:  <024301c20663$2795e8a0$4464a8c0@JAMIEHECKFORD>

next in thread | raw e-mail | index | archive | help
Hiya,

Im trying to have the passwords on our FreeBSD boxen created by a perl
script.

Currently... the username/pass pairs are stored in a MySQL database. Easy
enough to get them, but
does anyone know a perl method of creating them in /etc/passwd? I know
getpwent grabs values - im looking for a putpwent if
there is such a thing and in the encrypted password form :)

thanks in advance to anyone who can help.

--
Jamie Heckford
Network Manager
Trident Microsystems Ltd
Tel:  01737 780790  Fax:  01737 771908
http://www.tridentmicrosystems.co.uk

***********

This e-mail message contains confidential information for
the above addressee only. Any opinion or views contained
in this e-mail message are those of the sender and do not
necessarily represent those of the Company. Unless otherwise
stated this e-mail message is not intended to be contractually
binding.  E-mail transmission cannot be guaranteed to be
secure or error-free and the sender therefore does not accept
liability for any errors or omissions in the contents of this
message.

Trident Microsystems Ltd Group of Companies
Perrywood Business Park, Honeycrock Lane, Salfords, Redhill,
Surrey, RH1 5JQ

Tel:  (44) (0) 1737 780790   Fax:  (44) (0) 1737 771908

Registered office:  Abacus House, Bone Lane, Newbury,
Berkshire, RG14 5SF


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024301c20663$2795e8a0$4464a8c0>