info-cvs
[Top][All Lists]
Advanced

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

(no subject)


From: root
Subject: (no subject)
Date: Mon, 13 Aug 2001 05:11:45 -0400

>From address@hidden  Fri Feb  9 00:03:24 2001
>Return-Path: <address@hidden>
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
AAA17323
        for <address@hidden>; Fri, 9 Feb 2001 00:03:22 +0900
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14QsYJ-0001JR-00; Thu, 08 Feb 2001 10:00:07 -0500
Received: from thor.ssa.crane.navy.mil ([164.227.42.154])
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14QsWT-0001G4-00
        for <address@hidden>; Thu, 08 Feb 2001 09:58:13 -0500
Received: from ssa.crane.navy.mil (address@hidden [127.0.0.1])
        by thor.ssa.crane.navy.mil (8.10.2/8.10.2) with ESMTP id f18Evwk23701;
        Thu, 8 Feb 2001 09:57:58 -0500
Message-ID: <address@hidden>
From: Todd Denniston <address@hidden>
Organization: Code 6067, NSWC Crane
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18tad2 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: address@hidden
CC: address@hidden
Subject: Re: Force CVS to using root to commit files (one way or another)
References: <address@hidden>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Id: Announcements and discussions for the CVS version control system 
<info-cvs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/info-cvs/>
Date: Thu, 08 Feb 2001 09:57:57 -0500
Status: O
Content-Length: 1847
Lines: 63

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

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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