bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem "cvs import: used empty password; try "cvs login" with a


From: Larry Jones
Subject: Re: problem "cvs import: used empty password; try "cvs login" with a
Date: Fri, 12 Oct 2007 14:05:10 -0400 (EDT)

deepakdarmi@gmail.com writes:
> 
> My cvs server is on linux.
>    the directory is /home/cvs
>   when i put this command "cvs -d:pserver:root@192.168.0.160:/home/cvs  
> import document "dee" "deep" cvs login" from another linux machine
>       it is showing this
>   cvs import: authorization failed: server 192.168.0.160 rejected access to 
> /home/cvs for user root
>   cvs import: used empty password; try "cvs login" with a real password

That is a nonsensical command.  You should read the manual:

        <http://ximbiot.com/cvs/manual/>

You need to login first (just one time per repository), then do the
import.  You should also never run CVS as root (or anything else, for
that matter, unless you really have to) -- by default, CVS won't allow
you to commit changes as root:

        cvs -d:pserver:user@192.168.0.160:/home/cvs login
        cvs -d:pserver:user@192.168.0.160:/home/cvs import document "dee" "deep"

If you're going to be using the same repository a lot, you can avoid the
long -d option by setting (and exporting) $CVSROOT.

-Larry Jones

My brain is trying to kill me. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]