From: Serge Skorokhodov <suralis-s@mtu-net.ru>
To: Yura Zotov <mandrake-russian@altlinux.ru>
Subject: Re[2]: [mdk-re] îÁÓÔÒÏÊËÄÏÓÔÕÐÁ Ë Á CVS ÒÅÐÏÚÉÔÁÒÉÀ
Date: Thu Nov 22 19:05:00 2001
Message-ID: <19425510301.20011122190937@mtu-net.ru> (raw)
In-Reply-To: <20011122185114.A24964@home-pool4-85.com2com.ru>
Здравствуйте!
>> Хм, что значит левых пользователей - проcто cоздаете группу
>> cvs, и доcтуп к репозиторию разрешаете только членам этой
>> группы, а затем в эту группу влкючаете только тех, кого надо
>>
>> В итоге залогинитcя то cможет любой, а вот что-либо cделать -
>> только члены группы cvs
>>
>> ну и далее по проектам - на каждый проект заводите cвою
>> группу, в репозитории на cоответcвующий модуль даете права
>> только членам этой группы и включаете в группу только тех
>> людей, которые реально c этим проектом работают
>>
>> А лишние пользователи - они же еcть не проcят =)
>> А попроcят - так обломаютcя
>>
>> По крайней мере у наc так в cвое время было cделано - и вcе
>> нормально работало
YZ> Это все должен проделывать root. В моем случае это не
YZ> годится. Я не root. Пользователи CVS будут только
YZ> pserver'ными. Реальный пользователь будет только один. Это не
YZ> сильно гибко, но должно быть достаточно.
YZ> Поэтому мне нужно создать такой CVSROOT/passwd
YZ> anonymous::real_user
YZ> cvs_user1:_encrypted_password_1_:real_user
YZ> cvs_user2:_encrypted_password_2_:real_user
YZ> и т.д. Таким образом я смогу сам администрировать
YZ> репозитарий.
YZ> P.S. Вообще задача такая: сделать репозитарий, который смог
YZ> бы полностью администрировать обычный пользователь.
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";
Не подойдет?
--
Serge Skorokhodov aka suralis
22.11.2001 suralis-s@mtu-net.ru
next prev parent reply other threads:[~2001-11-22 19:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-22 15:49 [mdk-re] Настройкдоступа к а CVS репозитарию 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 ` Serge Skorokhodov [this message]
2001-11-22 20:42 ` Artem K. Jouravsky
2001-11-22 21:00 ` 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=19425510301.20011122190937@mtu-net.ru \
--to=suralis-s@mtu-net.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