On Tue, Feb 26, 2008 at 1:18 PM, Shaya Potter <[EMAIL PROTECTED]> wrote:
> I want to run a program within a bash script, essentially daemonize a
> program that doesn't have a daemon mode.
>
> #!/bin/sh
>
> echo "What Is Your Passsword: "
> stty_orig=`stty -g`
> stty -echo
> read -r PASSWORD
Leif Walsh wrote:
> On Tue, Feb 26, 2008 at 12:43 PM, Shaya Potter <[EMAIL PROTECTED]> wrote:
>> the -p option is not good on multi user systems
>> the -p option is not particularly good on NFS based systems
>> (have to trust every user on every machine with access to NFS share)
>
> You seem
On Tue, Feb 26, 2008 at 12:43 PM, Shaya Potter <[EMAIL PROTECTED]> wrote:
> the -p option is not good on multi user systems
> the -p option is not particularly good on NFS based systems
> (have to trust every user on every machine with access to NFS share)
You seem somehow both worried about
Leif Walsh wrote:
> On Sun, Feb 24, 2008 at 1:02 PM, Shaya Potter <[EMAIL PROTECTED]> wrote:
>> [please cc me on responses]
>>
>> I was wondering if getpass could be changed to enable piped stdin to work.
>>
>> For instance, the getmail program can read my email password in via
>> stdin using ge
On Sun, Feb 24, 2008 at 1:02 PM, Shaya Potter <[EMAIL PROTECTED]> wrote:
> [please cc me on responses]
>
> I was wondering if getpass could be changed to enable piped stdin to work.
>
> For instance, the getmail program can read my email password in via
> stdin using getpass functionality.
>
>
[please cc me on responses]
I was wondering if getpass could be changed to enable piped stdin to work.
For instance, the getmail program can read my email password in via
stdin using getpass functionality.
However, if I do
echo password | getmail4
it will fail due to stdin not being a termina