Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #1832

From: <debian-user-digest-request(at)lists.debian.org>
Date: Sat Jun 23 2007 - 22:00:08 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 1832

Today's Topics:

  Re: checkinstall lacking on stable    [ Dirk Eddelbuettel  ]
  network configuration issue - iptabl  [ Adam Hardy  ]
  Re: [SOLVED] kqemu on Sid             [ David Baron  ]
  Re: debian-user-digest Digest V2007   [ David Baron  ]
  Re: how to install ntfs-3g from etch  [ Steffen Joeris  ]
  scripting - cat breaking line         [ L.V.Gandhi  ]
  courier-imap: IMAP_UMASK has no effe  [ info@peter-thomassen.de ]
  Re: problems with radeon driver (sol  [ Marcelo Chiapparini  ]
  Re: Sed advice needed                 [ Jude DaShiell  ]
  Re: synchronize sendemail / cyrus /   [ Richard A Nelson 

Date: Sat, 23 Jun 2007 14:11:04 -0500
From: Dirk Eddelbuettel <edd@debian.org> To: Ross Boylan <ross@biostat.ucsf.edu>
Cc: Francesco Pietra <chiendarret@yahoo.com>,

	debian-users ,
	debian64 ,
	debian-science ,
	pkg-openmpi-maintainers@lists.alioth.debian.org
Subject: Re: checkinstall lacking on stable
Message-ID: <18045.28744.29684.566108@basebud.nulle.part>
Content-Type: text/plain; charset=us-ascii
Do you need help?X
Content-Transfer-Encoding: 7bit

On 23 June 2007 at 09:31, Ross Boylan wrote:

| On Fri, 2007-06-22 at 00:32 -0700, Francesco Pietra wrote:
| > I am now at such cases for amd64 (dual core opterons)
| > with OpenMPI (a parallelization support) and Amber (a
| > molecular dynamics package), which I wish to compile
| > with my installed intel fortran and c. 
| I can't help with your problem, but your mail raises a couple of
| questions.  I heard a couple years ago that Intel had made some changes
| to their compilers that made them not work (or maybe not work well) with
| chips from other vendors.  Is that information inaccurate?
| 
| Also, some of us are working on getting R and OpenMPI working together.
| If anyone has done that, or would like to help, just speak up.

Yes, I made a first stab and have something really rudimentary.

But it has been moved 'back down the queue' as I (as part of the pkg-openmpi team on Alioth) am trying to get an all new, all shiny OpenMPI into Debian. Maybe this weekend. If and when it happens, I *will* post in debian-science (and possibly debian-devel) to reach other MPI maintainers and users.

Do you need more help?X

And yes, once we have a properly maintained and non-buggy OpenMPI package, it will be worthwhile coordinating with other the MPI implementation packages, and updating the packages using MPI (and particularly lam) such as Rmpi.

Help would be welcome on any and all of these projects. For the R/MPI intersection, I am currently the only worker bee so this is bound to be slow.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

Date: Sat, 23 Jun 2007 20:35:09 +0100 From: Adam Hardy <adam.ant@cyberspaceroad.com> To: debian-user@lists.debian.org Subject: network configuration issue - iptables Message-ID: <467D75ED.2090300@cyberspaceroad.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have set up a network for our house using a gateway server with etch and two NICs, eth1 for the internal network and eth2 for the DSL modem. I set up iptables with firewall-builder and all seems OK, but I can only ever access the web interface on the DSL modem from the gateway server directly after downing the internal network on eth1. The modem's web interface is on 192.168.1.1 on eth2 and if I don't down eth1, the browser won't find it. This cuts the internet connection for the rest of the network though which means I have to tell everyone in the house, and secondly, I have to go to the actual machine which is not in my study where my workstation is. So my goal is to be able to connect to the modem on 192.168.1.1 from anywhere internally. How can I set up iptables to route packets from eth1 to eth2 just for 192.168.1.1 ? It's not obvious in firewall-builder! Thanks Adam

Date: Sat, 23 Jun 2007 14:43:42 +0200 From: cmiramon@kde-france.org To: debian-user@lists.debian.org Subject: Re: 2.6 kernel upgrade gives garbled video (w/o X11) Message-ID: <f5j4hu$d1n$1@sea.gmane.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Andrew Sackville-West wrote:
> so, who knows what else might have gotten changed and what other etch
> stuff you may have drug in. One of these things could be causing a
> problem. maybe console-tools? just a guess.
>
I had the same problem after yesterday upgrade on my sid 386 notebook. Downgrading libconsole and console-tools seems to have solved the problem. Charles

Date: Sat, 23 Jun 2007 21:25:08 +0200 From: baldyeti <e_fax_t@hotmail.com> To: debian-user@lists.debian.org Subject: how to install ntfs-3g from etch-backports Message-ID: <f5js57$hbo$1@sea.gmane.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Added the necessary line to sources.list, yet apt-get won't find the package. # apt-get -s -t etch-backports install ntfs-3g I cannot seem to make this work; thanks for any help.

Date: Sat, 23 Jun 2007 23:02:24 +0300 From: David Baron <d_baron@012.net.il> To: debian-user@lists.debian.org Subject: Re: [SOLVED] kqemu on Sid Message-id: <200706232302.24816.d_baron@012.net.il> Content-type: text/plain; charset=iso-8859-15 Content-transfer-encoding: 7BIT Content-disposition: inline On Friday 22 June 2007, debian-user-digest-request@lists.debian.org wrote:
> So qemu hangs in kernel 2.6.21 if you turned off paravirtualization and
> are using kqemu. End of story.
I am running 2.6.21 with no PARAVIRT and kqmeu works just fine. Might be that my old pentium-III clunker has no relevance for paravirtualization. Probably only applies to newer intel chips and then one would use kvm instead of kqemu. K7? I do not know.

Date: Sat, 23 Jun 2007 23:06:58 +0300 From: David Baron <d_baron@012.net.il> To: debian-user@lists.debian.org Subject: Re: debian-user-digest Digest V2007 #1824 Message-id: <200706232306.58257.d_baron@012.net.il> Content-type: text/plain; charset=iso-8859-15 Content-transfer-encoding: 7BIT Content-disposition: inline On Friday 22 June 2007, debian-user-digest-request@lists.debian.org wrote:
> OT: Say NO to the Microsoft Office format as an ISO standard
> From: "Manon Metten" <manon.metten@gmail.com>
> To: "debian users" <debian-user@lists.debian.org>
>
> Hi,
>
> This urgent request was posted on users@openoffice.org by Hagar de l'Est
> < hagar_de_lest@openoffice.org >.
> Is not exactly Debian, but I think also of great importance for all of us.
>
> Please sign the petition here: http://www.noooxml.org/petition.
> (Cookies have to be enabled for this site.)
Microsoft has RTF, SQL and others to its credit and we all use them. If only they would conform to their own standards! I do not see how office formats could be ISO'd because they keep changing them and adding to them and backwards compatability can be problematic (forwards as well). However, what harm would there be in it? Openoffice reads them and writes them and we like that, right?

Can we help you?X

Date: Sat, 23 Jun 2007 22:33:40 +0200 From: Steffen Joeris <steffen.joeris@skolelinux.de> To: debian-user@lists.debian.org, baldyeti <e_fax_t@hotmail.com> Subject: Re: how to install ntfs-3g from etch-backports Message-Id: <200706232233.46130.steffen.joeris@skolelinux.de> Content-Type: multipart/signed; boundary="nextPart1659565.ncMixDexDO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1659565.ncMixDexDO Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sat, 23 Jun 2007 09:25:08 pm baldyeti wrote:
> Added the necessary line to sources.list, yet apt-get
> won't find the package.
>
> # apt-get -s -t etch-backports install ntfs-3g
>
> I cannot seem to make this work; thanks for any help.
The only ntfs-3g package I could find on backports.org is a backport for=20 sarge. It seems that there is no backport for etch, sorry. If you need somebody to build the package for me, then ping me via private= =20 mail, but I do not really use it. Therefore, I won't maintain the backport = :( Cheers Steffen --nextPart1659565.ncMixDexDO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGfYOq62zWxYk/rQcRAnnbAJ9xcIX1j3vT3Bfd7se6jEkBMzeARQCfRwSN z4mWNrsPHMekH087r6yCvRc= =C3iv -----END PGP SIGNATURE----- --nextPart1659565.ncMixDexDO--

Date: Sat, 23 Jun 2007 16:58:13 -0400 From: Jose Luis Rivas Contreras <ghostbar38@gmail.com> To: debian-user@lists.debian.org Subject: Re: debian-user-digest Digest V2007 #1824 Message-ID: <467D8965.70605@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Baron wrote:
> However, what harm would there be in it? Openoffice reads them and writ=
es them=20
> and we like that, right?
I rather prefer open documents that doc's and xls's, don't you? That's like "I can chat/surf in my Windows machine, then why should I change my OS?", something like that... Jose Luis. - -- ghostbar on Linux/Debian 'sid' i686 - #382503 Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es San Crist=C3=B3bal, Venezuela. http://chaslug.org.ve Fingerprint =3D 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA B118 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGfYllOKCtW8rKsRgRAs/iAJ92szhSj/Lal12tB49UBBCSIL6wIQCfd/ES Im8yrvY7C1d0kARGDk0G1SE=3D =3DuLl7 -----END PGP SIGNATURE-----

Date: Sat, 23 Jun 2007 17:13:55 -0400 From: Steve Kleene <skdeb@syrano.acb.uc.edu> To: debian-user@lists.debian.org Subject: size and position of iceweasel window Message-Id: <200706232113.RAA19629@syrano.acb.uc.edu> Is there a way to make the iceweasel window consistently pop up at the same position every time? I've been unable to control this. I'm calling Iceweasel 2.0.0.4 from an xterm under the fvwm-2.5.18-3 window manager. Adding a line like this to ~/.Xresources worked for Netscape but is ignored by iceweasel: Netscape.Navigator.geometry: 800x977+773+87 I tried removing the localstore.rdf file, which I gather can get corrupted, but that didn't fix anything. I also haven't been able to call a window of a given size. A command like iceweasel -width 300 -height 300 brings up my usual 800x980 iceweasel window. I have that size listed in prefs.js, but it is also ignored as far as I can tell. If a site resizes my iceweasel window and I close it, I get a window of whatever the last size was, not what's specified in prefs.js. Thanks.

Date: Sat, 23 Jun 2007 23:13:57 +0200 From: Till Wimmer <g4-lisz@tonarchiv.ch> To: debian-user@lists.debian.org Subject: synchronize sendemail / cyrus / ftp / ssh password Message-ID: <467D8D15.5010909@tonarchiv.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, i'm running a server for several customers using cyrus/IMAP, sendmail, apache2 and ssh. I'm looking for a way to store all the passwords for them in _one_ database so i can manage them easily by a web interface. My solution was to store the passwords in a MySQL table. Now the problem is that cyrus and sendmail use sasldb for authentication, but ssh uses PAM. This is rather unsatisfying because libpam_mysql, libsasl2_modules_sql and mod_auth_mysql (apache) all have quite different approaches / ideologies. I had to store the passwords in plaintext because of the sasl interface, but the new mod_auth_mysql will allow encrypted passwords only... that's only one of the issues. Maybe somebody is using a similar configuration? How do big hosting sites manage their passwords? Till

Date: Sat, 23 Jun 2007 14:23:34 -0700 From: L.V.Gandhi <lvgandhi@gmail.com> To: debian-user <debian-user@lists.debian.org> Subject: scripting - cat breaking line Message-ID: <d559b4c0706231423l19b13123te985ffcad3c3a4e9@mail.gmail.com> Content-Type: multipart/alternative; boundary="----=_Part_147211_10477158.1182633814768" ------=_Part_147211_10477158.1182633814768 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a file temp1 as below lvgandhi@lvgvaio:~/stock$ cat temp1 ABB,ABB LTD., 4730.00, 4779.00, 4700.00, 4726.45,59655 ACC,ACC LIMITED, 860.00, 864.90, 844.30, 852.25 ,228318 When I run on command line as lvgandhi@lvgvaio:~/stock$ for line in $(cat temp1);do echo "20070622,$line">>temp2 ;done I get temp2 as lvgandhi@lvgvaio:~/stock$ cat temp2 20070622,ABB,ABB 20070622,LTD., 20070622,4730.00, 20070622,4779.00, 20070622,4700.00, 20070622,4726.45,59655 20070622,ACC,ACC 20070622,LIMITED, 20070622,860.00, 20070622,864.90, 20070622,844.30, 20070622,852.25,228318 line is breaking at every space. How to avoid this? I would ike the output to be 20070622,ABB,ABB LTD., 4730.00, 4779.00, 4700.00, 4726.45,59655 or still as 20070622,ABB,ABB LTD.,4730.00,4779.00,4700.00,4726.45,59655 thus having no space in beginning of field, but maitaining space in strings like ABB LTD. -- L.V.Gandhi http://lvgandhi.tripod.com/ ------=_Part_147211_10477158.1182633814768 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a file temp1 as below<br>lvgandhi@lvgvaio:~/stock$ cat temp1<br>ABB,ABB LTD.,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4730.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4779.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4700.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4726.45,59655<br>ACC,ACC LIMITED,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 860.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 864.90,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 844.30,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 852.25,228318 <br>When I run on command line as<br>lvgandhi@lvgvaio:~/stock$ for line in $(cat temp1);do echo &quot;20070622,$line&quot;&gt;&gt;temp2 ;done<br>I get temp2 as<br>lvgandhi@lvgvaio:~/stock$ cat temp2<br>20070622,ABB,ABB<br> 20070622,LTD.,<br>20070622,4730.00,<br>20070622,4779.00,<br>20070622,4700.00,<br>20070622,4726.45,59655<br>20070622,ACC,ACC<br>20070622,LIMITED,<br>20070622,860.00,<br>20070622,864.90,<br>20070622,844.30,<br>20070622,852.25 ,228318<br>line is breaking at every space.<br>How to avoid this?<br>I would ike the output to be<br>20070622,ABB,ABB LTD.,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4730.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4779.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4700.00,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4726.45,59655<br>or still as<br>20070622,ABB,ABB LTD., 4730.00,4779.00,4700.00,4726.45,59655 <br>thus having no space in beginning of field, but maitaining space in strings like ABB LTD.<br>-- <br>L.V.Gandhi<br><a href="http://lvgandhi.tripod.com/">http://lvgandhi.tripod.com/ </a><br><br> ------=_Part_147211_10477158.1182633814768--

Date: Sat, 23 Jun 2007 23:36:42 +0200 From: info@peter-thomassen.de To: debian-user@lists.debian.org Subject: courier-imap: IMAP_UMASK has no effect Message-ID: <f5k3pb$8tu$1@sea.gmane.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Hi, I set IMAP_UMASK=077 in /etc/courier/imapd and restarted courier-imap, using Debian Etch. Then, I saved a message to the IMAP mailbox using KMail. The permissions of the message file are set to 0644, while I expected 0600. Can you reproduce that? Is it a bug? Thanks, Peter

Date: Sat, 23 Jun 2007 18:49:59 -0300 From: Marcelo Chiapparini <chiappa@oi.com.br> To: debian-user <debian-user@lists.debian.org> Subject: Re: problems with radeon driver (solved) Message-Id: <1182635399.3651.7.camel@yggdrasill> Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sat, 2007-06-23 at 10:47 +0800, Bob wrote:
> Marcelo Chiapparini wrote:
> > On Mon, 2007-06-18 at 14:26 -0300, Marcelo Chiapparini wrote:
> >
> >> Hello,
> >>
> >> I am running etch in an amd64 system with an ATI Radeon Mobility 9200
> >> (AGP) video card. The ATI driver from x.org doesn't work with this card,
> >> after a small GUI activity, the screen freezes. I've reported this
> >> problem in the past. The only workaround I've found was to install the
> >> fglrx-driver package, run dpkg-reconfigure xserver-xorg and select the
> >> fglrx driver instead the ati one. No more video freezes. But now totem
> >> doesn't start, I get the message: The Application "totem" has quit
> >> unexpectedly. This problem has to do exclusively with the fglrx driver.
> >> I experimented with the ati and fglrx drivers in another i386 machine,
> >> and totem didn't start with the fglrx driver. It works fine with the ati
> >> driver from x.org.
> >>
> >
> > After a *lot* of googling, I discovered that the problem with the xorg
> > driver is the glx module. Disabling it I can use the xorg ati driver
> > without problems. And I can run totem and grace too! (they didn't work
> > with the driver from ATI) fortunately the machine is only for work, so I
> > can do perfectly well without the glx module... I guess
> >

> Mmm, I use glx on 3 different radeons, what page suggested that was the
> problem?
what kind of radeon are they? the problem seems to be with the amd64 port. I didn't keep the page, sorry. Only the message regarding the glx module. But the prove is that now, with out the glx module loaded, I can use the system.
> When the screen freezes is it just the screen? Can you ssh in and have
> a look at x log?
when freezes, the only way to go out is with a hard reboot, which takes you to another screen which freezes again... Mouse works, but I can do anything. x log shows nothing... regards Marcelo
> --
> Garrr, do your bit for global warming, become a pirate, you can "borrow" my copy of Windows 95 if you want.
>
-- Marcelo Chiapparini chiappa@oi.com.br

Date: Sat, 23 Jun 2007 18:22:59 -0400 From: "Eric d'Alibut" <eric.halibut@gmail.com> To: debian-user@lists.debian.org Subject: Re: Where does mailman put... Message-ID: <585bd7150706231522w2f6ad90cu5c27d50e7a9108d1@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/23/07, Sven Hoexter <sven@timegate.de> wrote:
> It's all in those binary files. Mailman offers you some cli tools to work
> with them in the mailman/bin directory.
Mucho thx. -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut?

Can't find what you're looking for?X

Date: Sat, 23 Jun 2007 17:30:46 -0500 From: "Wu-Kung Sun" <sunwukung@gmail.com> To: debian-user <debian-user@lists.debian.org> Subject: Re: scripting - cat breaking line Message-ID: <286e3f7e0706231530v2dfb4132jd1c99eff0b568c19@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The bash manpage says "If the substitution appears within double quotes, word splitting and pathname expansion are not performed on the results." So try "$(cat temp1)" -- swk

Date: Sat, 23 Jun 2007 17:38:11 -0500 (CDT) From: Jude DaShiell <jdashiel@shellworld.net> To: Bob McGowan <bob_mcgowan@symantec.com> Cc: debian-user@lists.debian.org Subject: Re: Sed advice needed Message-ID: <Pine.BSF.4.64.0706231736300.26050@freire2.furyyjbeyq.arg> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed There is a mailing list for sed sed-users-subscribe@yahoogroups.com for those interested in keeping tabs on this editor and exchanging tips.

Date: Sun, 24 Jun 2007 01:07:45 +0200 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: backports Message-ID: <20070623230745.GA4063@localhost> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jun 23, 2007 at 17:28:19 +0100, Chris Lale wrote:
> Bob Proulx wrote:
[...]
> > In backports-users Alexander Wirt wrote:
> >> I have uploaded the bpo keyring to the archive which makes it
> >> possible to add the bpo archive signing key via apt-get install
> >> debian-backports-keyring to you apt keyring. I hope I haven't missed
> >> anything but please test it.
> >
> > apt-cache show debian-backports-keyring
> >
> > Description: GnuPG archive key of the backports.org repository
> > The backports repository digitally signs its Release files. This package
> > contains the repository key used for that.
> >
>
> Thanks Bob! You learn something new every day. :)
>
> I might add that this package comes from the debian-backports repository itself,
> so you need to add the repository to /etc/apt/sources.list, "aptitude update",
> ignore the GPG error and "aptitude install debian-backports-keyring" to avoid
> GPG errors in future.
After installing the debian-backports-keyring package I would at least check the signatures of the new key, like this: -------------------- $ cd /usr/share/keyrings/ $ gpg --no-default-keyring --keyring ./debian-backports-keyring.gpg --keyring ./debian-keyring.gpg --check-sig "Backports.org Archive Key" pub 1024D/16BA136C 2005-08-21 uid Backports.org Archive Key sig! 7E7B8AC9 2005-11-20 Joerg Jaspert sig!3 16BA136C 2005-08-21 Backports.org Archive Key sig!3 16BA136C 2005-08-21 Backports.org Archive Key sub 2048g/5B82CECE 2005-08-21 sig! 16BA136C 2005-08-21 Backports.org Archive Key 1 signature not checked due to a missing key -------------------- (I have removed all email addresses from the output of the gpg command.) Then you know at least that the new key has been signed by Joerg Jaspert and you checked his signature using his public key from the debian-keyring package. (The second signature cannot be checked because that key is not part of the Debian keyring.) An even better approach would be to download the Backports.org Archive Key manually and to check the signature before adding the new key to apt's keyring. (Installing the debian-backports-keyring package directly means that an unverified post-installation script has root on your computer, therefore you cannot really trust anything after that, including the keys on the Debian keyring.) P.S. The same goes for the debian-multimedia-keyring package. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Sun, 24 Jun 2007 00:45:38 +0000 (UTC) From: - Tong - <mlist4suntong@yahoo.com> To: debian-user@lists.debian.org Subject: Re: scripting - cat breaking line Message-ID: <f5keri$qq5$3@sea.gmane.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wu-Kung Sun, have solve the line breaking problem.=20 Now something else. On Sat, 23 Jun 2007 14:23:34 -0700, L.V.Gandhi wrote:
> lvgandhi@lvgvaio:~/stock$ for line in $(cat temp1);do echo
> "20070622,$line">>temp2 ;done
FYI, the best approach for your above is to use sed, which can still maintain lighting speed even the "temp1" is 1g or 10g in size: sed 's/^/20070622,/' temp1 >> temp2 --=20 Tong (remove underscore(s) to reply) http://xpt.sf.net/techdocs/ http://xpt.sf.net/tools/

Date: Sat, 23 Jun 2007 18:04:55 -0700 (PDT) From: Richard A Nelson <cowboy@debian.org> To: Till Wimmer <g4-lisz@tonarchiv.ch> Cc: debian-user@lists.debian.org Subject: Re: synchronize sendemail / cyrus / ftp / ssh password Message-ID: <alpine.DEB.0.99.0706231756400.21361@hygvzn-guhyr.pnirva.bet> Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii On Sat, 23 Jun 2007, Till Wimmer wrote:
> i'm running a server for several customers using cyrus/IMAP, sendmail,
> apache2 and ssh.
>
> I'm looking for a way to store all the passwords for them in _one_
> database so i can manage them easily by a web interface.
By artifically tying the database concept to a GUI, you may limit your choices severely.
> My solution was to store the passwords in a MySQL table.
> Now the problem is that cyrus and sendmail use sasldb for
> authentication, but ssh uses PAM.
I use LDAP for sendmail, apache2, sasl, pam, and dovecot (instead of cyrus). All non-system users are defined in ldap, and can logon to any machine that happens to be replicating the database.
> This is rather unsatisfying because libpam_mysql, libsasl2_modules_sql
> and mod_auth_mysql (apache) all have quite different approaches /
> ideologies.
Yes, even with LDAP there are a few things that make you go 'wtf?!?'
> I had to store the passwords in plaintext because of the sasl interface,
> but the new mod_auth_mysql will allow encrypted passwords only... that's
> only one of the issues.
I have slapd store the passwords in crypt format - so normal shadow services continue to work as before
> Maybe somebody is using a similar configuration?
I'm a small shop, but found it easier to help others if I ran my setup closer to theirs -- Rick Nelson That's the funniest thing I've ever heard and I will _not_ condone it. -- DyerMaker, 17 March 2000 MegaPhone radio show End of debian-user-digest Digest V2007 Issue #1832 ************************************************** Received on Sat Jun 23 22:00:28 2007

This archive was generated by hypermail 2.1.8 : Sat Jun 23 2007 - 22:10:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library