[Linux] Ubuntu 7.10 and su or sudo

Steven Benmosh linux@flux.org
Mon, 14 Jan 2008 18:36:00 -0600


------=_Part_10659_13819664.1200357360505
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

It is not that I am trying to violate security, it is that when you run a
lot of commands typing sudo every time can become a nuisance. For that
purpose, you use sudo su.

I have a web site which is owned by a non-admin user, and then I have to
edit files as root to make it work (in /etc/apache2 and /etc/appnames/, or
move files from archives not owned by the user, etc.).

Thanks for all the help.

Z.

On Jan 14, 2008 12:26 PM, Mike Marschall <mmarschall@yahoo.com> wrote:

>
> On Jan 14, 2008, at 10:21 AM, Danny Rathjens wrote:
>
> > Steven Benmosh wrote:
> >> sudo su
> >
> > sudo already runs the command specified as root, so running a
> > command to switch user to root is quite redundant.
> > sudo bash
> > Is a more straightforward way to violate sudo security.
>
> sudo -s
> _______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>



-- 
Check out my web site - www.words2u.net

------=_Part_10659_13819664.1200357360505
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

It is not that I am trying to violate security, it is that when you run a lot of commands typing sudo every time can become a nuisance. For that purpose, you use sudo su.<br><br>I have a web site which is owned by a non-admin user, and then I have to edit files as root to make it work (in /etc/apache2 and /etc/appnames/, or move files from archives not owned by the user, etc.). 
<br><br>Thanks for all the help.<br><br>Z. <br><br><div class="gmail_quote">On Jan 14, 2008 12:26 PM, Mike Marschall &lt;<a href="mailto:mmarschall@yahoo.com">mmarschall@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>On Jan 14, 2008, at 10:21 AM, Danny Rathjens wrote:<br><br>&gt; Steven Benmosh wrote:<br>&gt;&gt; sudo su<br>&gt;<br>&gt; sudo already runs the command specified as root, so running a<br>&gt; command to switch user to root is quite redundant.
<br>&gt; sudo bash<br>&gt; Is a more straightforward way to violate sudo security.<br><br></div>sudo -s<br><div><div></div><div class="Wj3C7c">_______________________________________________<br>Linux mailing list<br><a href="mailto:Linux@flux.org">
Linux@flux.org</a><br><a href="http://www.flux.org/mailman/listinfo/linux" target="_blank">http://www.flux.org/mailman/listinfo/linux</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - 
<a href="http://www.words2u.net">www.words2u.net</a>

------=_Part_10659_13819664.1200357360505--