info-cvs
[Top][All Lists]
Advanced

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

Re: Trouble in checking out from remote CVS server


From: Feng Sian
Subject: Re: Trouble in checking out from remote CVS server
Date: Tue, 03 Oct 2000 15:43:56 -0300

Larry Jones wrote:

> address@hidden writes:
> >
> > Hum... I think that it isn't inheriting $HOME from tcpserver. I have
> > tried using other uid/gid (btw, I created an new user for this
> > purpose), and I received the following error message:
> >
> >   setuid failed: Operation not permitted
> >   cvs [checkout aborted]: authorization failed: server
> > server.i-bizz.net rejected access
>
> If adding -f doesn't fix it, then it *is* inheriting $HOME.  Running the
> server as a non-root user is tricky because the server always tries to
> run as the user you ``cvs login'' as -- if it's not running as root,
> that will fail unless it's already running as the user it's trying to
> change to.  (You can make it work by having a CVSROOT/passwd file that
> maps all the real users to the same system user -- see "Setting up the
> server for password authentication" in the CVS manual.)
>
> -Larry Jones

Bad news: it didn't worked. I created an user named devel, and in
$CVSROOT/CVSROOT/passwd I set the following line

feng::devel

and then I started tcpserver with -u<devel-uid> -g<devel-gid> ...

, but it continue to complain with the following error message:

  setuid failed: Operation not permitted
  cvs [checkout aborted]: authorization failed: server server.i-bizz.net
       rejected access

I have switched back to run the process as root, but I have some questions:
- if tcpserver is invoked from root, and the program is ran as root (#
tcpserver -u0 -g0 0 2401 ...), why it can't 'chdir /root'?
- do tcpserver switch to another user before running the program?

--
Feng <address@hidden>
i-Bizz Mídia e Tecnologia





reply via email to

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