chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: [Chicken-bugs] #427: Teach chicken-setup to sudo


From: Chicken Scheme
Subject: [Chicken-janitors] Re: [Chicken-bugs] #427: Teach chicken-setup to sudo when installing
Date: Fri, 22 Feb 2008 08:16:08 -0000

#427: Teach chicken-setup to sudo when installing
------------------------------------------+---------------------------------
  Reporter:  John Cowan <address@hidden>  |       Owner:       
      Type:  defect                       |      Status:  new  
  Priority:  minor                        |   Milestone:       
 Component:  chicken-setup                |     Version:  3.0.0
Resolution:                               |    Keywords:       
------------------------------------------+---------------------------------
Comment (by iraikov):

 Once a user has been authenticated by sudo, they can use sudo without a
 password for a limited time. Implementing your suggestion would very
 likely cause users to run a command as root without necessarily realizing
 so. For example, I often install the latest SVN verson of Chicken to my
 home directory, but sometimes I run the system-wide chicken-setup when I
 want to install eggs in my home directory, and of course it fails because
 I run chicken-setup without sudo. Hiding the sudo invocation means that I
 can easily clobber the global Chicken configuration without realizing
 that. And you don't have to have a test machine, I have two qemu images on
 my laptop that I use for building the Debian packages, and for testing
 installation in RedHat.


 Replying to [comment:2 John Cowan <address@hidden>]:
 > I'm sorry, I don't understand the objection.  To run su or sudo requires
 providing a password, and there is no alternative to it if you are
 installing into the standard places.  I just want it used minimally
 instead of for the whole chicken-setup run.
 >
 > Not all of us are fortunate enough to own test machines.

-- 
Ticket URL: <http://trac.callcc.org/ticket/427#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler

reply via email to

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