[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-md5-crypt question
From: |
Karan Saberwal |
Subject: |
Re: grub-md5-crypt question |
Date: |
Wed, 19 May 2004 15:45:42 +0530 |
Hi Jeff
I was able to work out another solution for that as follows through a shell
script which takes the string from the command line:
/**************************\
/sbin/grub --batch --device-map=/dev/null <<EOF \
grep "^Encrypted: " | sed 's/^Encrypted: //'
md5crypt
$1
quit
EOF
/**************************\
All the same, thanks for your suggestion; I will try it too.
Regards,
Karan Saberwal
----- Original Message -----
From: "Jeff Sheinberg" <address@hidden>
To: "Karan Saberwal" <address@hidden>
Cc: <address@hidden>
Sent: Thursday, March 25, 2004 1:20 AM
Subject: Re: grub-md5-crypt question
> Karan Saberwal writes:
>
> > I have been trying to generate a script which will generate the md5
hash for
> > a string taken as input from the command line.
>
> I use the openssl passwd command for this purpose, eg,
>
> $ openssl passwd -1 secret
> $1$Ia9cLJGU$q2Hj95gf4d8PFHRLKXFxz1
>
> on my Debian system, the man page can be accessed thusly,
>
> $ man 1ssl passwd
>
> --
> Jeff Sheinberg
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: grub-md5-crypt question,
Karan Saberwal <=