Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux command Detailed chpasswd bulk edit user password     - The three-way division of the sorting algorithm Quicksort (Programming)

- PostgreSQL export table structure information (Database)

- Tmux Crash Course: Tips and adjustment (Linux)

- Nginx caching using the official guide (Server)

- Teach you the Ubuntu Server enabled SSH multifactor authentication (Server)

- Understand ASP.NET 5 running the command: DNVM, DNX, and DNU (Server)

- Swift rewrite initialize method of navigation controller class (Programming)

- CentOS 7 hard disk expansion toss record (Linux)

- Linux system security knowledge (Linux)

- How to install Linux Kernel 4.4 on Ubuntu (Linux)

- Zabbix monitoring Oracle Database use Orabbix plug (Enhanced Edition) (Database)

- Ant command-line compiler Android project (Programming)

- imp / exp Oracle Database import and export commands (Database)

- How to achieve SSH without password login (Server)

- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)

- JavaScript basic tools list (Programming)

- Deploy OpenStack Juno on Ubuntu 14.04 (Linux)

- Linux file content inspection - cat, tac, no, more, less, head, tail, od (Linux)

- Analyzing Linux server architecture is 32-bit / 64-bit (Server)

- ORA-00600 error solve one case (Database)

 
         
  Linux command Detailed chpasswd bulk edit user password
     
  Add Date : 2017-08-31      
         
         
         
  Linux Command: chpasswd
Bulk edit user password

working principle:
Enter read user names and passwords from the standard system, and use this information to update the system's existing user password

grammar:
1: # echo Username: Password | chpasswd
2: # chpasswd
parameter:
-e: If the -e option, the password can only be transmitted in encrypted form
      If the -e option is not used, the password will be transmitted in plain text form

Precautions
1: The user name must be on the system existing user
2: The average user does not have permission to use this command
3: If the input file is encrypted by a non-transfer, please file the proper encryption.
4: instruction files can not be empty lines

Examples
1, directly modify the user's password is helloboy doiido
# Echo doiido: helloboy | chpasswd

2, using the username and password which doiido.txt bulk modify the user's password
2.1: Firstly instruction file doiido.txt (format [username: passwd])
# Vi doiido.txt
doiido1: helloboy
doiido2: hellogirl

2.2: transferring content doiido.txt to chpasswd instruction to modify the user's password
# Chpasswd
3, so that ordinary users to use chpasswd
The default is no ordinary user chpasswd permission, but you can modify the command to modify file permissions
# Chmod 4755 / usr / sbin / chpasswd

So that ordinary users can use to change the password chpasswd
     
         
         
         
  More:      
 
- Java loop list to solve the problem of Joseph ring (Programming)
- To use Linux to create a secure managed gateway (Linux)
- Recovery from MySQL master data consistency summary (Database)
- Repair after installing Ubuntu no boot device error (Linux)
- Simple steps allows you to build a more secure Linux server (Linux)
- Win7 + Ubuntu Kylin + CentOS 6.5 installed three systems (Linux)
- Installation Yarock 1.1.4 Music Player in Ubuntu (Linux)
- Servlet life cycle code examples (Programming)
- expdp reported ORA-39181 Export Processing Method (Database)
- CentOS 6.7 install Nagios Tutorials (Server)
- Linux boot process (Linux)
- Linux use iptables ban Ping (Linux)
- Android in the coordinate system and a method to obtain the coordinates (Programming)
- Linux Getting Started tutorial: Borrow Windows fonts in Ubuntu 14.10 (Linux)
- How to extend / remove swap partitions (Linux)
- HomeKit User Interface Guidelines (Linux)
- Install Krita 2.8 on Ubuntu 13.10 / 12.04 / 12.10 (Linux)
- Gitlab installation under CentOS 7 (Linux)
- Compile Android libwebcore.so error occurs when solving (Programming)
- Dialogue UNIX:! $ # @ *% (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.