[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to pass a password to `mount`?
From:       Manuel Amador <rudd-o () amautacorp ! com>
Date:       2005-02-25 16:19:12
Message-ID: 1109348352.10715.33.camel () master ! amauta
[Download RAW message or body]

El dom, 20-02-2005 a las 15:41 +1100, Brad Hards escribió:
> On Sun, 20 Feb 2005 15:32 pm, Mark A. Taff wrote:
> > Thanks Brad.  It does work on the command line.  Now to get it working from
> > perl.
> Why perl? Just a shell script:
> #! /bin/sh
> kdialog --password "enter the password" | mount /dev/loop0 -p 0

Aas much as I hate Perl, Perl would let you read the stderr
independently from the stdout and alert you of errors, while shell
scripting is very poor at that.

> 
> Brad
>  >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
-- 
Manuel Amador <rudd-o@amautacorp.com>
Amauta
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic