On 03/14/2011 07:59 PM, siegfr...@heintze.com 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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/