ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <s.bolshakov@sam-solutions.net>
To: devel@altlinux.ru
Subject: Re: [devel] sandman. теперь инициализация cvs.
Date: 29 Jan 2003 17:15:29 +0200
Message-ID: <m3adhkq966.fsf@pc313.belcaf.minsk.by> (raw)
In-Reply-To: <20030129172151.5e54a519.avl@l14.ru>

>>>>> "Alexey" == Alexey V Lubimov <avl@l14.ru> writes:

 > Извиняюсь, если вопросы непроходимо тупые...
 > Относительно cvs читаю:

 >> Должен содержать файлы {users,passwd}

 > Можно пример этих файлов?

users содержит то, что cvs и ожидает там найти:
--- CVSROOT/users ---
avl:"Alexey V Lubimov <avl@altlinux.ru>"
--- CVSROOT/users ---
sandman при этом использует второе поле в качестве
значения packager для rpm.

 > насчет файла passwd нашел вот что: 
 > ================
 > You will need a utility to create encrypted passwords. You can use the below perl script for that purpose:

 > #!/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";

 > #

 > Create a text file in /usr/local/cvsroot/CVSROOT called passwd and enter the users as shown below (format is: userid:encrypted-password:cvs ):

 > username1:x$5itFdsw123:cvs
 > username2:3fgRH4p3443:cvs
 > ====================

Конкретно этот не пробовал, но не вижу причин, почему бы им
не воспользоваться. В качестве примера однострочник:
$ echo 'package require Trf; puts "avl:[crypt mypass salt]"' |\
  tclsh >> /mnt/arhiv/bte/gnome2/cvs/CVSROOT/users
  
Вместо salt подставьте случайное двузначное чиселко :)

 > про файл users вообще нигде ничего нет!
info cvs, Multiple Developers -> Watches -> Getting Notified


 > может cvs -d /mnt/arhiv/bte/gnome2/cvs admin -a username,userbame2 ?
 > у меня это тоже не проходит.


 > далее
 >> Должны быть импортированы модули {release,installer,macros}

 > Примеры самих модулей есть в /usr/share/sandman-server/*
 > можно пример команды импортирующей модуль?

 > cvs -d /mnt/arhiv/bte/cvs import /usr/share/sandman-server/release.example
 > ?

mkdir somedir
cd somedir
cp /usr/share/doc/sandman-server*/release.sample release
cp /usr/share/doc/sandman-server*/macros.sample macros
cp /usr/share/doc/sandman-server*/installer.sample installer
echo \#placeholder > release.generic
cvs -d /mnt/arhiv/bte/gnome2/cvs import release avl start

 > Кому должно принадлежать дерево /mnt/arhiv/bte? пользователю sandman?

да.

-- 


  reply	other threads:[~2003-01-29 15:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 14:21 Alexey V. Lubimov
2003-01-29 15:15 ` Sergey Bolshakov [this message]
2003-01-29 17:11   ` Alexey V. Lubimov
2003-01-29 17:34     ` Sergey Bolshakov
2003-01-29 21:52       ` "Алексей Любимов"
2003-01-30  9:46         ` Sergey Bolshakov
2003-01-30 12:35           ` Alexey V. Lubimov
2003-01-30 13:30             ` Sergey Bolshakov
2003-01-30 13:42               ` Alexey V. Lubimov
2003-01-30 13:53                 ` Sergey Bolshakov
2003-01-30 15:03                   ` Alexey V. Lubimov
2003-01-29 17:58   ` Alexey V. Lubimov
2003-01-29 18:04     ` Sergey Bolshakov
2003-01-29 21:33       ` "Алексей Любимов"
2003-01-29 21:46         ` Alexander Bokovoy
2003-01-29 21:48       ` "Алексей Любимов"
2003-01-29 18:09     ` Alexey V. Lubimov

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=m3adhkq966.fsf@pc313.belcaf.minsk.by \
    --to=s.bolshakov@sam-solutions.net \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git