All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mário Gamito" <gamito@gmail.com>
To: terry white <twhite@aniota.com>
Cc: linux-admin <linux-admin@vger.kernel.org>
Subject: Re: Changes in file (huge problem)
Date: Mon, 25 Dec 2006 19:09:39 +0000	[thread overview]
Message-ID: <459021F3.40903@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0612250221440.23090@yossarian.aniota.com>

Hi Terry,

Thank you so much for your answer.
It really did the trick :-)

terry white wrote:
> ... ciao:
> 
> : on "12-24-2006" "Mário Gamito" writ:
> : Change the second field to the correspondent md5 hash.
> 
>     i have no idea how to do that, so it's left to the reader.
In exchange for your info here's this one:
MD5=`md5 -s "$PASSWORD" | cut -f4 -d' '`

Lucky me that i am in FreeBSD.
BSD's md5 has the "-s" option to hash a string instead of a file.

Linux's md5sum doesn't.
It would require a little more hocus pocus :P

Warm Regards,
Mário Gamito

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2006-12-25 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-24 13:51 Changes in file (huge problem) Mário Gamito
2006-12-24 22:23 ` Glynn Clements
2006-12-24 23:31   ` Mário Gamito
2006-12-26 23:48     ` Glynn Clements
2006-12-25 10:25 ` terry white
2006-12-25 19:09   ` Mário Gamito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459021F3.40903@gmail.com \
    --to=gamito@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=twhite@aniota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.