<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
On Wed, 2005-04-20 at 20:41 -0500, Jesse Haubrich wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Jim, your right. I was being a closed minded about the situation.  I'm</FONT>
<FONT COLOR="#000000">just as bad as the windows users who whine about having to enter a pass</FONT>
<FONT COLOR="#000000">at every turn :P</FONT>

<FONT COLOR="#000000">I'm going disable the root account and give the ubuntu user scheme a</FONT>
<FONT COLOR="#000000">whirl. I suppose my biggest concern was security, but when I think about</FONT>
<FONT COLOR="#000000">it - I honestly can't figure why having a root account would be more</FONT>
<FONT COLOR="#000000">secure. The fact is, that when we give a root password to a user the</FONT>
<FONT COLOR="#000000">user account essentially becomes a superuser anyway. </FONT>

<FONT COLOR="#000000">My hat is off to ubuntu for their boldness.</FONT>

<FONT COLOR="#000000">Is there a switch for adduser to automatically add users to the sudoers?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Just "sudo adduser <some user> admin" after you've created that other account. Since your /etc/sudoers should have <BR>
<BR>
<TT># Members of the admin group may gain root privileges</TT><BR>
<TT>%admin  ALL=(ALL) ALL</TT><BR>
<BR>
at the bottom, anyone in that group should be able to use sudo for anything.<BR>
<BR>
This is also available in the graphical "Users and Groups" admin tool. Just select a user, click properties, select the "User privileges" tab and enable the "Executing system administration tasks" checkbox.<BR>
<BR>
mike<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>

<FONT COLOR="#000000">JKH</FONT>




<FONT COLOR="#000000">On Thu, 2005-04-21 at 12:07 +1200, Jim Cheetham wrote:</FONT>
<FONT COLOR="#000000">> On Wed, 2005-04-20 at 18:38 -0500, Jesse Haubrich wrote:</FONT>
<FONT COLOR="#000000">> > Does anybody know how to setup a classic UNIX style root and user</FONT>
<FONT COLOR="#000000">> > account system. I love ubuntu, but this 'sudo' stuff has got to go.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Just assign a password to root, and you'll have what you want.</FONT>
<FONT COLOR="#000000">> "sudo passwd root" would work.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> > If I add the new accounts to the 'sudoers' file, I'll effectively have</FONT>
<FONT COLOR="#000000">> > multiple passwords to access the super-user account. Doing this just</FONT>
<FONT COLOR="#000000">> > doesn't feel right. </FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Sure - sudo-style activities are perfect for a large operation where</FONT>
<FONT COLOR="#000000">> there are "operators" as well as admins. sudo can assign access in a far</FONT>
<FONT COLOR="#000000">> more fine-grained manner than su can - i.e. you can permit only a</FONT>
<FONT COLOR="#000000">> handful of commands to be run as root (and block sub-shells from them</FONT>
<FONT COLOR="#000000">> too).</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Plus, if one of the users "leaves", you can deny them root access</FONT>
<FONT COLOR="#000000">> without the other users having to know that anything has changed. If you</FONT>
<FONT COLOR="#000000">> change the root password, all the current users have to know about the</FONT>
<FONT COLOR="#000000">> change.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> > I understand having the 'sudo' set up this way for the windows migrants</FONT>
<FONT COLOR="#000000">> > to get adjusted; which seems fine, but there should be a way for us UNIX</FONT>
<FONT COLOR="#000000">> > weenies to have our way too ;)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Ah, you just want what you're already used to. No problem - you can have</FONT>
<FONT COLOR="#000000">> it :-) It's just not the default :-)</FONT>
<FONT COLOR="#000000">> -- </FONT>
<FONT COLOR="#000000">> -jim cheetham = jim at egressive dot com</FONT>
<FONT COLOR="#000000">> <A HREF="http://www.egressive.com">www.egressive.com</A>, <A HREF="http://www.effusiongroup.com">www.effusiongroup.com</A></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> </FONT>


</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Michael R Head <<A HREF="mailto:burner@suppressingfire.org">burner@suppressingfire.org</A>><BR>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)
</TD>
</TR>
</TABLE>
</BODY>
</HTML>