expect

2002-10-26 Thread Russell Coker
I want to run an expect script as:
script dpkg -i package

Then have the script spawn "dpkg -i package".  How do I do this?  Expect wants 
to combine all the parameters into a single parameter that contains spaces.  
How can I solve this?

Also I want to do it for numerous packages (so having an entry for each 
parameter isn't going to work).

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page




Re: LDAP and email

2002-10-26 Thread Radek Hnilica
On Thu, Oct 24, 2002 at 09:44:16PM -0400, [EMAIL PROTECTED] wrote:
> Has anyone LDAPized their email system, along with /etc/aliases? If
> so, can you give me a pointer how you did that?

Definitely yes.  Now I'm planing do it for the second time.  Big hint
is http://ispman.org.  All I'm using are: openldap, postfix,
cyrus-imapd, cyrus-pop3d.  You can also look for somethink like
readme-ldap in postfix doc directory.

I'm thinking of more automation of administrative work, and future
expanding this scheme to dns, dhcp, workstation description, and
workers description.  There are packages for some of these tasks, but
I'm looking for my own way.

Use the source Luke, use the source.

-- 
Radek Hnilica 
===
No matter how far down the wrong road you've gone, turn back.
Turkish proverb






expect

2002-10-26 Thread Russell Coker
I want to run an expect script as:
script dpkg -i package

Then have the script spawn "dpkg -i package".  How do I do this?  Expect wants 
to combine all the parameters into a single parameter that contains spaces.  
How can I solve this?

Also I want to do it for numerous packages (so having an entry for each 
parameter isn't going to work).

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: LDAP and email

2002-10-26 Thread Radek Hnilica
On Thu, Oct 24, 2002 at 09:44:16PM -0400, [EMAIL PROTECTED] wrote:
> Has anyone LDAPized their email system, along with /etc/aliases? If
> so, can you give me a pointer how you did that?

Definitely yes.  Now I'm planing do it for the second time.  Big hint
is http://ispman.org.  All I'm using are: openldap, postfix,
cyrus-imapd, cyrus-pop3d.  You can also look for somethink like
readme-ldap in postfix doc directory.

I'm thinking of more automation of administrative work, and future
expanding this scheme to dns, dhcp, workstation description, and
workers description.  There are packages for some of these tasks, but
I'm looking for my own way.

Use the source Luke, use the source.

-- 
Radek Hnilica 
===
No matter how far down the wrong road you've gone, turn back.
Turkish proverb




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]