[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Force CVS to using root to commit files (one way or another)
From: |
Todd Denniston |
Subject: |
Re: Force CVS to using root to commit files (one way or another) |
Date: |
Thu, 08 Feb 2001 09:57:57 -0500 |
Matthew J Fletcher wrote:
>
> Hi,.
>
> I am trying to setup a cvs system for development but have come across a
> number of problems, which i would hope some of you have seen before.
>
> - Due to the requirements of our work we need to be operating as root, (this
> is set in stone, honist), however it is very anoying to logout or su to
> another user to commit files, how can i force cvs to accept root commits ?
>
I have worked on UNIX for about 5 years doing things from user-space programs
down through hardware drivers, the only time you NEED to be root is to "make
install; insmod driver" the hardware driver, assuming you know how to use file
permissions. The only possible exception I have seen is a program that is ONLY
used for machine maintenance by root.
> - If it is not possible to force cvs to accept root commits, i would like to
> have a quick script to load my cvs gui from another user, but i have failed
> to get this to work, i know its not strictly a cvs issue, but its either ask
> here or we have to go back to Microsoft SourceSafe and co, (i thought a bit
> of emmotional blackmail might help)
>
find cvs_source -type f |xargs grep CVS_BADROOT
> eg,.
>
> #!/bin/bash
> su matt
> tkcvs -dir /usr/src/cvssources &
> exit
>
> but it dont work,.. any ideas ?
>
Try this:
#!/bin/bash
su - matt -c "tkcvs -dir /usr/src/cvssources"
exit
> --
> regards
> ---
> Matthew J Fletcher
> NPD Firmware
> When did ignorance become a point of view ?
> ---
<OSR>
--
______________________________________________________________________________
We apologize for the inconvenience, but we'd still like yout to test out
this kernel.
-- Linus Torvalds, announcing another kernel patch