Chapter IV Account and Group Management (Part 2)

zhaozj2021-02-17  34

Default account and group

The Built account in Solaris 9 is existing for management purposes. Every default account has a specific UID, friendship reminder, do not easily modify the default user name and UID of these accounts. UID 0 ~ 99 is reserved for system accounts by the system. The default account list is shown in Table 4.1:

When using these default accounts attempts to execute system tasks, the executed program first checks the username or UID, so as to see if you have the appropriate permissions. That is, some of the programs will treat the account of the UID as a super user (SUPERUSER), and some programs find the user name as the ROOT as a super user. So, the renaming of the default account or change the uid, it is not a wise try.

There are also some services, such as UNIX-To-UNIX Copy Program (UUCP), and the background program associated with it, you need two accounts to run normally: Account Listen is the service to detect network conditions; account nobody and nobody4 are anonymous Connection; NoAccess provides connections to untrusted users (for authenticated users).

The built-in group is also present for management purposes. For example, if a user wants to run adminTool (a system program such as information such as a management system account), one of the implementations is to add the user to the sysadmin group (GID = 4). The system default group, the corresponding GID and the default member user are shown in Figure 4.1.

Table 4.1 Default account

Username

User ID (UID)

Comment

root

0

Superuser

Daemon

1

bin

2

SYS

3

ADM

4

Admin

UUCP

5

UUCP Admin

Nuucp

9

UUCP Admin

SMMSP

25

Sendmail Message Submission Program

Listen

37

NetWork Admin

LP

71

Line Printer Admin

NoBody

60001

NoBody

NoAccess

60002

No Access User

NoBody4

65534

Sunos 4.x NoBody

Figure 4.1 Default Group

Like the default account, the renaming or modification of the internal group is unwise, while we can add the user to the default group, but cannot delete the default account generated during the system installation.

转载请注明原文地址:https://www.9cbs.com/read-30317.html

New Post(0)