It's not clear whether your server is on a NT machine or a Unix-like
machine.  On Unix-like machines, you have to run the server as root
(from [x]inetd) so that it can switch to whatever user logs in.  The
"setuid failed" message indicates that the server wasn't able to change
user.

Hi, thanks for your help! My cvs repository is built up with cygwin(unix like enviroment) under win2k OS. So according to ur suggestion, I have run following commands in bash shell:


[EMAIL PROTECTED] ~
$ /usr/sbin/inetd start

[EMAIL PROTECTED] ~
$ telnet kaguya
Trying 172.20.54.111...
Connected to kaguya.
Escape character is '^]'.

CYGWIN_NT-5.0 1.3.19(0.71/3/2) (kaguya) (tty0)

login: cvsuser
Password:
Fanfare!!!
You are successfully logged in to this server!!!
-bash: kpsexpand: command not found

[EMAIL PROTECTED] ~
$ export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/lufang/repo

[EMAIL PROTECTED] ~
$ cvs login
(Logging in to [EMAIL PROTECTED])
CVS password:

[EMAIL PROTECTED] ~
$ cvs co CVSROOT
setuid failed: Permission denied
cvs checkout: authorization failed: server kaguya rejected access to /home/lufan
g/repo for user cvsuser


[EMAIL PROTECTED] ~
$ ls -lg /home/lufang/
total 16
drwxr-xr-x    3 cvsuser  None            0 Mar  1 23:55 CVSROOT
dr-xr-xr-x    4 cvsuser  None            0 Mar  1 19:42 repo
-rw-r--r--    1 cvsuser  None         3733 Feb 27 21:50 rh_opt.gdt
-rw-r--r--    1 cvsuser  None        11507 Feb 27 21:50 rh_opt.gpr
lrwxrwxrwx    1 cvsuser  None           94 Feb 14 03:21 vi -> vim.exe

as you can see , I have switched to user "cvsuser" from user "lufang", but it still got the same error message.So what's wrong? I really need some helps here.

I'll show some important files which may related to this:

CVSROOT/passwd:
lufang:3QXqHgr3oU3EQ
cvsuser:ZyfTqw/.ielHo:cvsuser

etc/group:

SYSTEM:S-1-5-18:18:
None:S-1-5-21-515967899-1563985344-839522115-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

etc/passwd:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-KAGUYA\Administrator,S-1-5-21-515967899-1563985344-839522115-500:/home/Administrator:/bin/bash
cvsuser:unused_by_nt/2000/xp:1004:513:U-KAGUYA\cvsuser,S-1-5-21-515967899-1563985344-839522115-1004:/home/cvsuser:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-KAGUYA\Guest,S-1-5-21-515967899-1563985344-839522115-501:/home/Guest:/bin/bash
lufang:unused_by_nt/2000/xp:1000:513:lufang,U-KAGUYA\lufang,S-1-5-21-515967899-1563985344-839522115-1000:/home/lufang:/bin/bash
sshd:unused_by_nt/2000/xp:1001:513:sshd privsep,U-KAGUYA\sshd,S-1-5-21-515967899-1563985344-839522115-1001:/var/empty:/bin/bash






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to