Raspberry Pi_Eng_12.4.3 “adduser” Command – Create User

12.4.3 “adduser” Command – Create User

You can use “adduser” and “useradd” commands to create user accounts. The “adduser” command makes it easy to create user accounts. The “useradd” command can handle relatively detailed processing with very low-level commands, but it is complex to use and generally not used for general purposes.

Raspberry Pi_Eng_12.4.2 Necessary Considerations for Creating User

12.4.2 Necessary Considerations for Creating User

There are several things to consider when creating a new user account. When creating a user account, the basic management items to be checked are as follows:

■ Items about passwords

■ Items about user groups

Raspberry Pi_Eng_12.4.1 Necessity for Creating User

12.4 Creating User

12.4.1 Necessity for Creating User

The Raspberry Pi system provides user accounts “pi” and “root” by default, but these user accounts are defined to be used by system administrators or system operators for system management purposes. They are are not suitable for use of normal user other than system administrators or system operators. There may be also several system administrators and system operators, not just one person, and there are cases in which responsibility and authority are separated according to their respective duties. Therefore, a newly created user is necessary for these users to access the Raspberry Pi system. These user accounts are created by system administrators with super user privileges, and are created by restricting the operations or privileges that can be used to suit the tasks of users who use the user accounts.

Raspberry Pi_Eng_12.2.2 Working user

12.2.2 Working user

12.2.2.1 Meaning or Working user

The working user is the User ID used for the current work. Typically, the logon user is the working user, but in some cases you can use a different user ID to process the work. For example, if the logon user is “pi”, you can use the “root” user account instead of the “pi” user account to perform the tasks that require the root account.

Raspberry Pi_Eng_12.1.3 Super User and Normal User

12.1.3 Super User and Normal User

12.1.3.1 Super User

A super user is a user who is authorized to do all the work on the system. This user can access all the data on the system, run all the programs, modify the behavior and contents of the system, and even have the right to destroy the system.

The Raspberry Pi system provides a super user account named “root” by default when the system is installed at first. Basically, it has the following features:

Raspberry Pi_Eng_12.1.2 System Administrator and Normal User

12.1.2 System Administrator and Normal User

12.1.2.1 System Administrator

A system administrator is a user account that is used to install a system or to manage critical tasks or privileges on the system. In the Raspberry Pi system, “pi” and “root” are provided for system management. If you want to use other user accounts besides the default user accounts, you need to create a new account.

Raspberry Pi_Eng_12.1.1 System Default Users and Additional Created Users

12.1 Types of User

12.1.1 System Default Users and Additional Created Users

12.1.1.1 System Default User

In Raspberry Pi, there are users which are provided by default when the system is installed, and those are “pi” and “root” user account. The “pi” user account is the default user provided for system administration, and the “root” user account is the super-user account with all the privileges required for system administration.

Raspberry Pi_Eng_12.0 Chapter 12 User and User Group

Chapter 12 User and User Group

Chapter’s Main Topics

This chapter describes the various kinds of user accounts and explains the difference between logon user and working user. It also describes how to create user account, change the contents of user account, delete user account, and describes the relationship between user account and user group.

It includes descriptions on the following topics:
■ Types of user

■ Logon user and working user

■ Internal management of user account in the system

■ Create, change, or delete user accounts

■ User groups