ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: community@altlinux.ru
Subject: Re: [Comm] cvs server --- passwd file
Date: Thu, 13 Nov 2003 12:51:33 +0300
Message-ID: <20031113095133.GF1509@borodin.zarya> (raw)
In-Reply-To: <16324404156.20031113154821@taxpol.krasnoyarsk.su>

On Thu, Nov 13, 2003 at 03:48:21PM +0700, aek wrote:
> Hello Andrew,
> 
> Thursday, November 13, 2003, 3:13:20 PM, you wrote:
> 
> AB>   Попробуйте теста ради вписать сюда свой пароль из
> AB> /etc/tcb/<user>/shadow
> 
> проблема решается всетаки добавлением юзера в систему
> (без определения его пароля,и выставления его шела в /dev/null)
> 
> правда какого фига он туда лезет, непонятно, ведь
> в /usr/local/cvs/CVSROOT/config я по человечески
> раскоментарил SystemAuth=no
> 
> 
> Ну, вообщем, вот таквот, через попу...
> 

  Почему? Вот что написано в info cvs:
  
Here is an example `passwd' file with five entries:

 anonymous:
 bach:ULtgRLXo7NRxs
 spwang:1sOp854gDF3DY
 melissa:tGX1fS8sun6rY:pubcvs
 qproj:XR4EZcEs0szik:pubcvs

<skip>

The fourth line will grant access to `melissa', if she supplies the
correct password, but her CVS operations will actually run on the
server side under the system user `pubcvs'.  Thus, there need not be
any system user named `melissa', but there _must_ be one named `pubcvs'.

The fifth line shows that system user identities can be shared: any
client who successfully authenticates as `qproj' will actually run as
`pubcvs', just as `melissa' does.  That way you could create a single,
shared system user for each project in your repository, and give each
developer their own line in the `$CVSROOT/CVSROOT/passwd' file.  The CVS
username on each line would be different, but the system username would
be the same.  The reason to have different CVS usernames is that CVS
will log their actions under those names: when `melissa' commits a
change to a project, the checkin is recorded in the project's history
under the name `melissa', not `pubcvs'.  And the reason to have them
share a system username is so that you can arrange permissions in the
relevant area of the repository such that only that account has
write-permission there.
                                             
  Т. е. хотя бы один реальный пользователь для работы cvs в системе
должен быть.  Все остальные, кто действительно будет работать с
репозитарием, --- нет.

  С уважением,
  А. Бородин.



      reply	other threads:[~2003-11-13  9:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12  6:09 aek
2003-11-12  7:20 ` Andrew Borodin
2003-11-12  8:58   ` Re[2]: " aek
2003-11-12  9:31   ` Sergey Bolshakov
2003-11-12 11:42     ` Re[2]: " aek
2003-11-12 12:06       ` Sergey Bolshakov
2003-11-13  3:03         ` Re[2]: " aek
2003-11-13  8:13           ` Andrew Borodin
2003-11-13  8:48             ` Re[2]: " aek
2003-11-13  9:51               ` Andrew Borodin [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=20031113095133.GF1509@borodin.zarya \
    --to=borodin@zarya-k.ru \
    --cc=community@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