<!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">
If you just want to change the username, edit the /etc/passwd,
/etc/shadow, and /etc/sudoers files and rename devpid -->
devuser. This will keep the UID the same and all file ownership
will be displayed with the new username too. On your specific
system, there may be other places where the old username is used
inside configurations too - do a little searching and make a backup.<br>
<br>
May not be what you want, but it is an option.<br>
<br>
As to giving sudo access to different users - did you look at the
sudo man page? See also "sudoers" The man page is pretty good.
Check out the groups and put any users into a group (either sudo
specific or you may use the system-based groups). Again, the man
pages are really useful.<br>
<br>
One of the important risks to using sudo is if you allow unlimited
access - especially to devs. Most editors will let you drop to a
shell, so if you let them have access to 'vi' as root, you've
effectively given all those users root on the machine. Bad admin.
Service accounts are great, but you probably don't want any end
users having access to them or sharing any accounts on a system.
Shared accounts are clearly not a "best security practice."<br>
<br>
<br>
On 02/28/2011 08:15 PM, Narahari 'n' Savitha wrote:
<blockquote
cite="mid:AANLkTikwob7N28z4NZ=j84uCw3xMzrtdbmTsEbujLeW2@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
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 ?</blockquote>
<br>
</body>
</html>