[Comm] cvs server --- passwd file

Andrew Borodin =?iso-8859-1?q?borodin_=CE=C1_zarya-k=2Eru?=
Чт Ноя 13 12:51:33 MSK 2003


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 в системе
должен быть.  Все остальные, кто действительно будет работать с
репозитарием, --- нет.

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




Подробная информация о списке рассылки community