[rochester-pm-list] New Member and a question

Derek Kalweit dkalweit at nesfiles.com
Tue Dec 21 22:27:20 CST 1999


    Hello all! I just discovered this Perl Mongers user group, and look
forward to meeting you all at the January meeting! I saw the site. I have
to say it's impressive-- I like the use of style sheets for the calendars,
and the colors are extremely complementary of each other. I sure do hope
you use a perl script to generate those calendars and don't do it by hand
for each month.. :->

    Anyways, what had me searching the web for PERL info that caused me to
stumble across this group, is this. I'm writing a script to help in some
system administration. It can only be run(or even read) by root, and it's
even still hidden in a directory only accessable by root. Currently, I
need to run this script by hand, as it calls the 'passwd' command to
change a couple passwords. This is tedius, and I'd like to pipe the
password in through my script. I know the whole idea of piping to passwd
is a possible security hole, and I'm sure that's why it's not working when
I try it(I can pipe to other apps just fine). Is there any way around
this, or some other way to change the passwords on the system with my
script? As for where the passwords to be used are stored, they're stored
in an SQL database on the local machine(only accessable on the local
machine by a specific user), and they're encrypted. Any suggestions? Thank
you!




More information about the Rochester-pm mailing list