Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to prevent standard users from creating new user accounts in ubuntu-12.04-desktop

share|improve this question
5  
What did you change in your setup that made a non-administrative user be able to do that? It is not possible in a default installation. –  Takkat Jul 3 '13 at 9:10
    
@rishab, By standard user what do you mean? Or how do you understand if a user is standard user. –  saji89 Jul 3 '13 at 9:19
    
If we go to user accounts in system settings.We can create two type of accounts: standard and administrator –  rishab v Jul 3 '13 at 10:30
1  
Standard users cannot create user accounts. –  Eric Carvalho Jul 3 '13 at 10:52

1 Answer 1

up vote 0 down vote accepted

As Eric Carvalho says, only administrators can create new users. Standard users cannot do that.

When an administrator creates a new user, it can be an administrator or a standard user. But no standard user can ever create a new user account.

The user created when you install Ubuntu is an administrator, not a standard user. You should always have at least one administrator account--if you were to make all the users standard users, then you would be unable to perform any administrative tasks (though this can be fixed).

Perhaps you have an administrator who you want to be a standard user? If so, you can change that in any of the same places where you'd create new user accounts. If that's not working, make sure the user who you want to be a standard user is not a member of the admin or sudo groups. (The adm group is different; you don't have to remove someone from that to keep them from being an administrator.)

If that doesn't work or you need help doing that, then please edit your question to provide as much additional information as possible, including the output of groups username run in a terminal (Ctrl+Alt+T), where username is the name of the user you're interested in.

share|improve this answer
    
I have tested with Standard user account.Standard user cannot create/delete user account.He can only do if he knows the password of administrator account.Thank you for your clarification –  rishab v Jul 4 '13 at 4:41
    
@rishabv I'm glad everything's working properly. By the way, if this answer solved your problem, I recommend marking it as the accepted answer by clicking the gray check mark to the left of it. This will make clear to others that your question is resolved (and that this might answer other people's similar questions). –  Eliah Kagan Jul 4 '13 at 8:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.