From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: Yura Zotov <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Настройкдоступа к а CVS репозитарию
Date: Thu Nov 22 20:42:01 2001
Message-ID: <20011122175134.GB7370@ujo.int.ifirst.ru> (raw)
In-Reply-To: <19425510301.20011122190937@mtu-net.ru>
On Thu, Nov 22, 2001 at 07:09:37PM +0300, Serge Skorokhodov wrote:
> YZ> Проблема с генерацией паролей, зашифрованных системным
> YZ> алгоритмом. Может кто-то другое решение сможет подсказать? Мало
> YZ> ли что я не прочитал в документации...
>
> Есть в и-нете такое решение (скрипт перловый):
>
> > #!/usr/bin/perl
>
> > srand (time());
> > my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";
> > my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
> > my $plaintext = shift;
> > my $crypttext = crypt ($plaintext, $salt);
>
> > print "${crypttext}\n";
>
> Не подойдет?
Увы, нет, я сам решал (не решил пока) такую задачу. Перловый
crypt и то что предлагается по man 3 crypt - две большие разницы.
Посмотрите сами, у шифрованых таким образом паролей даже длина
значительно отличается от системных (алгоритм blowfish если не
ошибаюсь, а перловый MD5 digest (?))
--------
Best wishes,
+----------------------+--------------------------+
| ."-. | Work: +7-(095)-229-4278 |
| /X | _o.----. _ | ICQ: 103399444 |
|/\_ \/ / __ \_// ) | Artem K. Jouravsky |
|\__)-/_/\_____)____/ | http://www.ifirst.ru/ |
+----------------------+--------------------------+
next prev parent reply other threads:[~2001-11-22 20:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-22 15:49 Yura Zotov
2001-11-22 16:12 ` Alexey Kakunin
2001-11-22 16:57 ` Yura Zotov
2001-11-22 17:28 ` Andrey Astafiev
2001-11-23 21:20 ` [mdk-re] Настройкдоступа к а CVSрепозитарию Sergei
2001-11-22 17:38 ` [mdk-re] Настройкдоступа к а CVS репозитарию Alexey Kakunin
2001-11-22 18:43 ` Yura Zotov
2001-11-22 19:05 ` Re[2]: [mdk-re] îÁÓÔÒÏÊËÄÏÓÔÕÐÁ Ë Á CVS ÒÅÐÏÚÉÔÁÒÉÀ Serge Skorokhodov
2001-11-22 20:42 ` Artem K. Jouravsky [this message]
2001-11-22 21:00 ` [mdk-re] Настройкдоступа к а CVS репозитарию Yura Zotov
2001-11-22 19:11 ` [mdk-re] " Peter V. Saveliev
2001-11-22 21:04 ` Artem K. Jouravsky
2001-11-23 0:37 ` cornet
2001-11-23 1:05 ` Yura Zotov
2001-11-22 16:38 ` Dmitry V. Levin
2001-11-22 18:10 ` [mdk-re] " cornet
2001-11-22 18:45 ` Yura Zotov
2001-11-22 18:59 ` Yura Zotov
2001-11-22 19:32 ` Dmitry V. Levin
2001-11-22 19:48 ` Sergey Vlasov
2001-11-23 12:32 ` [mdk-re] " Mikhail Zabaluev
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=20011122175134.GB7370@ujo.int.ifirst.ru \
--to=ujo@ifirst.ru \
--cc=mandrake-russian@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git