Difference between revisions of "User Manager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 27: Line 27:
 
The following information is needed to create a new user or system account:
 
The following information is needed to create a new user or system account:
  
'''Username:''' this is the name the user will use when they log in to the system; it is case sensitive and can not contain any spaces. If you are creating a system account needed by an application, use the name provided by the application's installation instructions.
+
'''Username:''' this is the name the user will use when they log in to the system; it is case sensitive and can not contain any spaces. If you are creating a system account needed by an application, use the name provided by the application's installation instructions. If the name that you type in already exists as an account, it will be highlighted in red and the utility will prompt you to use another name.
  
 
'''Full Name:''' this field provides a description of the account and can contain spaces. If it is a user account, use the person's first and last name. If it is a system account, you can input a description to remind you which application uses the account.
 
'''Full Name:''' this field provides a description of the account and can contain spaces. If it is a user account, use the person's first and last name. If it is a system account, you can input a description to remind you which application uses the account.
Line 33: Line 33:
 
'''Home Directory:''' you can leave this field empty for a user account as the system will automatically create a home directory for them under /home/username. However, if you are creating a system account it is important to override this default by typing in /var/empty or /nonexistent unless the application's installation instructions specify that the account needs a specific home directory.
 
'''Home Directory:''' you can leave this field empty for a user account as the system will automatically create a home directory for them under /home/username. However, if you are creating a system account it is important to override this default by typing in /var/empty or /nonexistent unless the application's installation instructions specify that the account needs a specific home directory.
  
'''Shell:'''
+
'''Shell:''' this drop down menu contains the shells that are available for user accounts when they work from a command prompt. You can either keep the default or select a shell which the user prefers.
  
'''Primary Group:'''
+
'''Primary Group:''' if you leave the default button of "New Group" selected, a group will be created with the same name as the user. This is usually what you want unless you are creating a system account and the installation instructions specify a different group name. Note that the drop down menu for specifying a group name will only show existing groups.
  
'''Password:'''
+
'''Password:''' the password is case-sensitive and needs to be typed in twice in order to confirm the password.
  
If you click the Groups tab
+
Once you have made your selections, press the Ok button to create the account.
 +
 
 +
If you click the Groups tab, you can view all of the groups on the system, as seen in Figure 7.6d:
  
 
'''Figure 7.6d:'''
 
'''Figure 7.6d:'''
  
 
[[Image:User3.png]]
 
[[Image:User3.png]]

Revision as of 10:11, 20 December 2010

Return to Table of Contents
Previous: System Manager
Next: Making a System Backup using Life Preserver


The PC-BSD User Manager utility allows you to easily add and delete users and groups on your system, as well as change a user's or the administrative password. To access this utility, go to Application Launcher -> System Settings -> Password & User Account. After inputting the administrative password, you should see a screen similar to Figure 7.6a, though the names of your users accounts will vary:

Figure 7.6a: Viewing User Accounts in User Manager

User1.png

In this example, the system has 2 user accounts. The "dru" account has the ability to become the superuser as the "Can administrate system" checkbox is checked. The password for any user can be changed by first highlighting the user name then clicking the "Change Password" button. Since the superuser is is using this utility, you will not be prompted for the old password in order to reset the password; this can be handy if a user has forgotten their password and can no longer log into the PC-BSD system. If you click the "Change Admin Password" button, you can change the password that is used whenever you are prompted for administrative access.

If you click the "Advanced View" button, this screen will change to show all of the accounts on the system, not just the user accounts that you created:

Figure 7.6b: Viewing All Accounts and Their Details

User2.png

The accounts that you did not create are known as system accounts and are needed by the operating system or installed applications. This means that you should not delete any accounts that you did not create yourself; doing so may cause a previously working application to stop working. Advanced view provides additional information associated with each account, such as the user ID number, full name (description), home directory, default shell, and primary group. System accounts usually have a shell of "nologin" for security reasons, meaning that an attacker can't try to login to the system using that account name.

This screen allows you to add or remove accounts. Figure 7.6c shows the add user account creation screen--click the Add button to open this screen:

Figure 7.6c: Creating a New User Account

User4.png

The following information is needed to create a new user or system account:

Username: this is the name the user will use when they log in to the system; it is case sensitive and can not contain any spaces. If you are creating a system account needed by an application, use the name provided by the application's installation instructions. If the name that you type in already exists as an account, it will be highlighted in red and the utility will prompt you to use another name.

Full Name: this field provides a description of the account and can contain spaces. If it is a user account, use the person's first and last name. If it is a system account, you can input a description to remind you which application uses the account.

Home Directory: you can leave this field empty for a user account as the system will automatically create a home directory for them under /home/username. However, if you are creating a system account it is important to override this default by typing in /var/empty or /nonexistent unless the application's installation instructions specify that the account needs a specific home directory.

Shell: this drop down menu contains the shells that are available for user accounts when they work from a command prompt. You can either keep the default or select a shell which the user prefers.

Primary Group: if you leave the default button of "New Group" selected, a group will be created with the same name as the user. This is usually what you want unless you are creating a system account and the installation instructions specify a different group name. Note that the drop down menu for specifying a group name will only show existing groups.

Password: the password is case-sensitive and needs to be typed in twice in order to confirm the password.

Once you have made your selections, press the Ok button to create the account.

If you click the Groups tab, you can view all of the groups on the system, as seen in Figure 7.6d:

Figure 7.6d:

User3.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox