<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 2/28/2011 8:48 PM, Wolf Halton wrote:
<blockquote cite="mid:4D6C505C.40108@wolfhalton.info" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
On 02/28/2011 08:15 PM, Narahari 'n' Savitha wrote:
<blockquote
cite="mid:AANLkTikwob7N28z4NZ=j84uCw3xMzrtdbmTsEbujLeW2@mail.gmail.com"
type="cite">Friends:<br>
<br>
I have created a user called devpid and it is the only user
account in Ubuntu 10.10.<br>
<br>
I selected the autologin option for this user devpid and when I
do sudo, the password used for this devpid user works.<br>
<br>
Now I need to create user called just devuser instead of devpid.<br>
<br>
I want to be able to make this new user devuser the only user
and removed devpid. Also I want to give devuser the rights to
be sudo.<br>
<br>
How do I do that in Ubuntu ?<br>
<br>
-Narahari<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ale mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
#sudo vi /etc/sudoers<br>
<br>
When sudoers opens, check if there is a group shown as a sudoers
group 'admin' is the one on my machine. The sudoers file says it
can be edited only with the visudo program. I have never had any
issues editing it with vi.<br>
</blockquote>
<br>
The reason for this is that if you make a mistake in syntax, visudo
will tell you when you save and exit. Vi will not.<br>
<br>
<br>
<blockquote cite="mid:4D6C505C.40108@wolfhalton.info" type="cite"> <br>
$ id devpid<br>
<br>
output shows the groups devpid is a member of. 'admin' should be
one of those groups.<br>
<br>
# groupadd wheel<br>
then add you user to the new admin group<br>
<br>
# usermod -a -G admin devuser <code><br>
<br>
</code><br>
<font face="monospace"><big><code>The last line I found on (<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/">http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/</a>)</code></big></font>
<p><code></code></p>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
</body>
</html>