[Top][All Lists]

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

Re: Forcing CVS to accept 'Root' commits

From: Greg A. Woods
Subject: Re: Forcing CVS to accept 'Root' commits
Date: Wed, 7 Feb 2001 14:40:39 -0500 (EST)

[ On Wednesday, February 7, 2001 at 15:18:07 (-0000), Matthew J Fletcher wrote: 
> Subject: Forcing CVS to accept 'Root' commits
> I am aware of the security reasons, but i spend much of my time
> developing in superuser mode, and it is a great pain to logout and
> login again as another user to commit files.

Well first off you should never do anything as root that's not
absolutely necessary to do as root!  Human error will be your downfall
if you do not change your habits.

In any case surely there's some way you can use multiple consoles,
multiple windows, etc. to allow quick switching.

If all else fails most modern systems with job control and decent shells
have a "suspend" shell command which will stop the current shell
(i.e. the one you've been handed by "su root").  When you're ready to go
back to using the root shell just type "fg".  Switching back and forth
is painless and instantaneous.

Or you could go the other way and install sudo and then use it to do
things as root and never normally use a root shell directly, though of
course you've got to be careful security-wise here too.

In any case be it known that hacking CVS to allow root commits would be
bad and wrong because then you wouldn't necessarily know who was really
at the keyboard!

                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>      <robohack!woods>
Planix, Inc. <address@hidden>; Secrets of the Weird <address@hidden>

reply via email to

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