Hi, I found the solution. The user is not considered a part of a new group until he logs out and logs in again, which I didn't do. I just added the user to the cvs group in the local machine and tried to import projects. I was not able to import. Whereas if I tried it from remote machines, I succeeded because, I was logging in each time I tried to import.
Thanks for pointing out the 'id' command.
Cheers, Senthil. On Fri, 18 Mar 2005, C.G.Senthilkumar. wrote:
Hi,
I'm seem to have tracked down the problem. But I don't understand why this is happening and what is the solution.
This is the output for id command when I'm logged in locally to machine_A. The user is 'cheetanc'. [EMAIL PROTECTED] cheetanc]$ id uid=500(cheetanc) gid=500(cheetanc) groups=500(cheetanc) ^^^^^^^^^^^^^^^^^^^^
This is the output for id command when I ssh from machine_B to machine_A. [EMAIL PROTECTED] cheetanc]$ id uid=500(cheetanc) gid=500(cheetanc) groups=500(cheetanc),504(cvs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can see that the user cheetanc is part of the group cvs in the second case when not in the first case, (i.e) when logged in locally. Here are the corresponding entries in /etc/group. [EMAIL PROTECTED] cheetanc]$ cat /etc/group | grep cheetanc cheetanc:x:500: cvs:x:504:cheetanc
Quite weird. What is happening?
Any help will be highly appreciated. Thanks in advance.
Thanks, Senthil.
On Fri, 18 Mar 2005, Larry Jones wrote:
C.G.Senthilkumar. writes:
The repository's owner is root and group is cvs. The 'user' is in the group cvs in the local machine A.
That makes it sound like the user is a member of the cvs group when logged in with ssh but not when logged in locally. You might want to compare the results of running the ``id'' command both locally and via ssh.
-Larry Jones
Girls are so weird. -- Calvin
-- Today's fortune: Heights by great men reached and kept Were not attained by sudden flight, But they while their companions slept Were toiling upward in the night. -Longfellow
_______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs
