How to create management users and groups under Linux

  

As a Linux system administrator, you need to manage the permissions of Linux users and groups, especially the permissions settings. The following small series will introduce you how to create management under Linux. Users and groups.

This article mainly introduces linux user management and group management (illustrating linux to create users and groups), need friends can refer to the following

There are three types of users under linux: 1, super user: Root has all the permissions of the operating system uid 0

2, ordinary users: ordinary users have limited operating system permissions uid 500-6000

3, pseudo-user: is to facilitate system management, Meet the requirements of the corresponding system process file owner, can not log in to the system uid 1--499

Manage the user's files, the user's basic information is placed here /etc/passwd Any user has read it the authority only defines the account does not define a password

row for each user seven parts

account name: password: uid: gid: information: the user's home directory: interpreter

user's password file /etc /shadow that only root-readable

username: password: last modified: maximum time interval: the minimum time interval: warning time: time of inactivity : In case of failure

0 You can modify 999999 at any time.

Two simple ways to create an account

1 Add a record to /etc/passwd

2 #ueradd User #passwd Password (lee user's affiliate group is admin)
Previous12345Next page Total 5 pages

Copyright © Windows knowledge All Rights Reserved