want to script account management stuff on linux (or solaris) from
perl? see here: http://www.cs.kuleuven.ac.be/~pelov/pam/ . make sure
to read the faq, the two questions in it were the exact two questions i
had. ugly hack or no, it works.
on redhat systems there are several shell utils for managing users.
useradd, userdel, and chpasswd. if one was to make a script to add a
user, the following would work:
system("useradd -c '$gecos' $login");
print PW ("$login:$pass\n");
procmail gets distributed with some helper programs. formail is the
most useful. if you need to migrate mail or similar type things it's a
good tool to use.
kevin at suberic.net "we were goin' for breakfast. in canada. we
fork()'ed on 37058400 made a deal: if she'd stop hookin', i'd stop
meatspace place: work shootin' people. maybe we were aiming high."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!