Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux create and delete user step     - Linux environment to build next Cocos2dx-3.3.1 (Linux)

- C ++ containers (Programming)

- C ++ thread creates transmission parameters are changed (Programming)

- How MAT Android application memory leak analysis (Programming)

- Necessity in Java packages (Programming)

- MariaDB 10.0.X, the dynamic column support JSON format to obtain data (Database)

- CentOS 5.3 under broadcom NIC dual activation issues (Linux)

- Linux firewall rules example Extracts (Linux)

- The SVN installation, configuration and start - up under Linux (CentOS 6.5) (Server)

- How ONLYOFFICE collaborative editing document on Linux (Linux)

- What is Java EE (Programming)

- Hadoop namenode do NFS disaster recovery (Server)

- Eclipse-ee Tomcat browser can not start Tomcat, and Web project service deployment (Server)

- Locale files under Ubuntu (Linux)

- How to display a dialog Bash Shell script (Programming)

- Linux system boot process ARM platforms (Linux)

- Redis-2.8.17 installation and configuration process some errors (Linux)

- Linux System Getting Started Learning: complete installation on Debian or Ubuntu kernel source (Linux)

- Flask deploy applications using Nginx on Ubuntu (Server)

- Binder began to talk about inter-process communication mechanism from Android AIDL (Programming)

  Linux create and delete user step
  Add Date : 2017-08-31      
  Linux user operations is relatively easy to understand, the basic operation is as follows:

1, the new user

Only the root user can create a new user

#useradd user1

It will generate a user with the same name in the user's home directory / home directory after New.
At the same time will create a new group, the group with the same name as the user, the user is a member of the group.
If you let the new user belongs to a group that already exists, use the following command:

#useradd -g usergroup1 user1

So that the user belongs to a group of usergroup1.
If you want it to be part of a group usergroup2, then you use:

#useradd -G usergroup2 user1

Use the passwd command to set an initial password, a new user can log in:

#passwd user1

2, delete users

userdel < username >

The files on the system are removed, you can use

userdel-r username

3, the new group

groupadd < group name >

4. Delete Group

groupdel < group name >

The end ...
- ORA-00020: No more process state objects available (Database)
- Kafka cluster deployment (Server)
- Ubuntu install Wireshark (Linux)
- Detailed installation OpenCV2.3.1 under CentOS 6.5 (Linux)
- 12 Linux Process Management Commands (Linux)
- MySQL remote connection settings (Database)
- MySQL Tutorial: Some optimized for I / O memory areas (Database)
- Ubuntu modify locale problem solving (Linux)
- Protection Docker container Notice (Server)
- The top command under Linux (Linux)
- Use the top command (Linux)
- NIC configuration parameters under Linux (Linux)
- How to install Unbound and DNSCrypt in Archlinux (Server)
- Dynamic programming Android (Programming)
- Manual cleaning Oracle audit records (Database)
- Android View event delivery (Programming)
- How to clear the DNS query cache under Linux / Unix / Mac (Linux)
- CentOS 6.5 installation and configuration Cobbler (Server)
- Upgrading KDE Plasma 5.3 in Ubuntu 15.04 (Linux)
- Vim useful plugin: vundle (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.