Trevor Ouellette
Thu, 23 Aug 2001 12:08:04 -0700
Hi Keith! I haven't heard from you in a while. I appreciate the code... :-) In fact, the code below is what you sent me last time. Here is my script so far. Currently the ibay doesn't prompt the user for a password when accessed directly at http://192.168.1.1/squidguard <SNIP> /sbin/e-smith/db accounts set squidguard ibay Group admin UserAccess wr-admin-rd-group PublicAccess local CgiBin enabled PasswordSet no Name squidguard Gid 5101 Uid 5101 # create the account on the system /sbin/e-smith/signal-event ibay-create squidguard # hack to use the setibay function from command line perl -e 'use esmith::util;' -e 'esmith::util::setIbayPassword("squidguard","pass");' # Notify manager that password is set /sbin/e-smith/db accounts setprop squidguard PasswordSet yes </SNIP> -----Original Message----- From: Keith Woody [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 1:35 PM To: Trevor Ouellette Cc: [EMAIL PROTECTED] Subject: Re: [e-smith-devinfo] SquidGuard 2 Development Trev, i dunno about the first one, but... ----- Original Message ----- From: "Trevor Ouellette" <[EMAIL PROTECTED]> To: "E-Smith Developers Info Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 12:01 PM Subject: [e-smith-devinfo] SquidGuard 2 Development <sniparoony> > 2. I need to know how to set a password on an ibay from the commandline. I > am going to put it in my shell script --> you will have to log in with an > account and password for additional security. </sniparoony> ## to set the password # perl -e 'use esmith::util;' -e 'esmith::util::setIbayPassword ('<IBAYNAME>', '<PASSWORD>');' ##to show that its been set # /sbin/e-smith/db accounts setprop <IBAYNAME> PasswordSet yes Regards, -Keith -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org