ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: cvs trouble
Date: Tue Dec 11 11:52:11 2001
Message-ID: <20011211090210.GB19108@localhost.localdomain> (raw)
In-Reply-To: <20011211101316.58b01c3a.ziga@udm.ru>

Hello Alexey,

On Tue, Dec 11, 2001 at 10:13:16AM -0400, Alexey Korotkov wrote:
>
> Возникла проблема с cvs.
> 
> Сделал так. 
> 
> В /etc/cvs/cvs.conf записано следующее:
> 
> CVS_REPOS="/home/ziga/work/mech/cvs"
> 
> Содержимое /etc/xinet.d/cvs:
> 
> # default: off
> # description: CVS server.
> service cvspserver
> {
> 	disable		= no
> 	socket_type	= stream
> 	protocol	= tcp
> 	wait		= no  
> 	user		= ziga
> 	server		= /usr/sbin/cvspserver
> }
> 
> Включил себя (ака ziga) в группу cvs.
> 
> В моём .bash_profile стоят строчки:
> 
> CVSROOT=:pserver:ziga@localhost:/home/ziga/work/mech/cvs
> CVSEDITOR=mcedit
> export CVSROOT CVSEDITOR
> 
> Дал команду:
> 
> $ cvs -d ~/work/mech/cvs init
> 
> В каталоге CVSROOT создал файл passwd, в котором написал:
> 
> ziga:<тут вставил пароль, взятый из /etc/shadow>:ziga
> 
> Пытаюсь залогиниться:
> 
> [ziga@localhost ziga]$ cvs -d :pserver:ziga@localhost:/home/ziga/work/mech/cvs login
> (Logging in to ziga@localhost)
> CVS password:<даю пассворд, вставленный из клипборда>
> cvs login: authorization failed: server localhost rejected access to /home/ziga/work/mech/cvs for user ziga
> [ziga@localhost ziga]$
> 
> В логах:
> 
> [root@localhost ziga]# grep cvs /var/log/messages
> Dec 10 14:10:21 localhost xinetd[505]: id not unique: cvspserver [line=12]
> Dec 10 14:28:31 localhost xinetd[504]: id not unique: cvspserver [line=12]
> Dec 10 14:45:40 localhost xinetd[532]: id not unique: cvspserver [line=12]
> Dec 10 22:10:23 localhost xinetd[505]: id not unique: cvspserver [line=12]
> Dec 11 09:23:19 localhost xinetd[505]: id not unique: cvspserver [line=12]
> Dec 11 09:58:55 localhost cvs_pserver[8164]: connection from 127.0.0.1:1027
> Dec 11 09:58:55 localhost cvs_pserver[8164]: ziga@127.0.0.1:1027: incorrect password according to /home/ziga/work/mech/cvs/CVSROOT/passwd
> 
> Подскажите, пожалуйста, в чём может быть проблема.

Метод хэширования паролей в shadow отличается от метода, используемого
CVS. Как проверено мной и другими, для генерации файла паролей CVS
подходит утилита htpasswd из пакета apache.

2Team: может, вынести утилиту эту в отдельный пакетик?

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Flattery will get you everywhere.



  reply	other threads:[~2001-12-11 11:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11  9:12 [mdk-re] " Alexey Korotkov
2001-12-11 11:52 ` Mikhail Zabaluev [this message]
2001-12-11 13:18   ` [mdk-re] " cornet
2001-12-11 13:34     ` AVL
2001-12-11 13:41       ` cornet
2001-12-11 14:28         ` AVL
2001-12-11 15:15           ` cornet
2001-12-11 15:33           ` cornet
2001-12-11 16:16             ` AVL
2001-12-11 16:53               ` cornet
2001-12-11 19:36   ` Alexey Korotkov

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=20011211090210.GB19108@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --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