On 03/14/2011 07:59 PM, [email protected] wrote:
Does anyone know the perl API (presumably on CPAN) for
useradd/userdel/usermod to automate the manipulation of users on FreeBSD
systems? On Linux systems?
thanks,
Siegfried


"adduser" is actually a Perl program that uses "useradd" under the hood, at least on Linux (FreeBSD removed Perl from its core so it may be an executable there now).

If none of the wrapper modules available from CPAN suits your need you can use its as a sample and even copy&paste code from there into your script.

- Salva

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to