[Linux] Ubuntu 7.10 and su or sudo

Steven Benmosh linux@flux.org
Sun, 13 Jan 2008 12:52:53 -0600


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

Thanks.

Unfortunately, I already modified the /etc/group file by hand, but I prefer
the command way, as it is less prone to human error. For example, did you
know that in addition to the admin group, there is also an adm group... :)

What is the command line way to remove user from a group? Does not seem to
find it.

Z.


On Jan 12, 2008 10:47 PM, Robert Citek <robert.citek@gmail.com> wrote:

> On 1/12/08, Steven Benmosh <wordz2u@gmail.com> wrote:
> > What is the most secure way to add the new user to the sudo list, or to
> enable the new user to do su root?
>
> As the first user, here's the Ubuntu way:
>
> $ sudo usermod -a -G admin newuser
>
> Regards,
> - Robert
> _______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>



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

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

Thanks. <br><br>Unfortunately, I already modified the /etc/group file by hand, but I prefer the command way, as it is less prone to human error. For example, did you know that in addition to the admin group, there is also an adm group... :)
<br><br>What is the command line way to remove user from a group? Does not seem to find it. <br><br>Z.<br><br><br><div class="gmail_quote">On Jan 12, 2008 10:47 PM, Robert Citek &lt;<a href="mailto:robert.citek@gmail.com">
robert.citek@gmail.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">On 1/12/08, Steven Benmosh &lt;
<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>&gt; wrote:<br>&gt; What is the most secure way to add the new user to the sudo list, or to enable the new user to do su root?<br><br></div>As the first user, here&#39;s the Ubuntu way:
<br><br>$ sudo usermod -a -G admin newuser<br><br>Regards,<br><font color="#888888">- Robert<br></font><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_6125_33479172.1200250373156--