-----Forwarded Message-----

> From: Analabha Roy <[EMAIL PROTECTED]>
> To: Daniel Brown <[EMAIL PROTECTED]>
> Subject: Re: [Siglinux] User needs to run script 'as root'
> Date: Tue, 15 Feb 2005 06:15:53 -0600
> 
> On Tue, 2005-02-15 at 06:10, Daniel Brown wrote: 
> 
> > On Mon, February 14, 2005 20:48, Analabha Roy said:
> > > On Mon, 2005-02-14 at 20:29, Daniel Brown wrote:
> > >
> > >> On Mon, Feb 14, 2005 at 03:19:53PM -0600, Doug McLaren wrote:
> > >> > On Mon, Feb 14, 2005 at 03:12:06PM -0600, Alfonso Lopez wrote:
> > >> >
> > >> > | I have a script that sets up my wireless connection for me, using a
> > >> > | variety of root only commands. I would like to have my users be able
> > >> to
> > >> > | run it.  Changing the permissions to allow executions doesn't do the
> > >> > | trick since the script calls ifconfig/iwconfig etc.
> > >> >
> > >> > Google for `sudo' or `super'.  You may even have one of them installed
> > >> > already.
> > >>
> > >> I use sudo to execute the scripts I wrote to manage my wireless
> > >> connection. :P
> > >
> > > Is that a good idea? I mean, sudo means that anybody in the sudoers list
> > > can execute ur script with root privs w/out the root passwd, is that
> > > wise?
> > 
> > sudo can be very restrictive. In /etc/sudoers you can specific which users
> > can run which commands with which arguments. I normally don't use the
> > sudo-for-everything configuration.
> > 
> > > Why not use kdesu instead? Just add a line "kdesu -c "/path-to-script"
> > > and all u have to do is enter the root password when the GUI prompt
> > > shows up.
> > 
> > Prompts break automation. I'd rather have a script that runs silently (and
> > doesn't depend on a windowing environment).
> > 
> > > It's what I do, I'm just not too comfortable with sudo. In fact, the
> > > only file that I have sudoed is the "su" binary itself (can't do without
> > > THAT, heh).
> > 
> > Hmm, I think there is a different way to do that. If you are on gentoo,
> > add your user to the wheel group to give them permission to run su.
> > sudo->su seems excessive.
> 
> 


Ya, but do I have to do that to the daemon users also, or just the
actual ones? 




> 
> 
> 
> 
> >  danb
> 
> 
> 
> 
> ______________________________________________________________________
> Analabha Roy Graduate Student 
> 
> Department Of Physics, University of Texas, 1 University Station
> C1600,  Austin, Texas 78712-0264, United States  emails:
> [EMAIL PROTECTED],   Home Page:
> http://www.ph.utexas.edu/~daneel
> 
> Get Firefox!
> 
> ______________________________________________________________________


________________________________________________________________________
Analabha Roy Graduate Student 
Department Of Physics, University of Texas, 1 University Station C1600, 
Austin, Texas 78712-0264, United States  emails:
[EMAIL PROTECTED],   Home Page: http://www.ph.utexas.edu/~daneel
Get Firefox! 
________________________________________________________________________
_______________________________________________
Siglinux mailing list
Siglinux@utacm.org
http://www.utacm.org:81/mailman/listinfo/siglinux

Reply via email to