System Management in linux

Source: Internet
Author: User
System Management in linux-general Linux technology-Linux technology and application information. For details, refer to the following section. Author: Hu changwen

[Force password length and complexity in linux :]
Edit the/etc/login file. defs: Set PASS_MIN_LEN, PASS_MAX_DAY, and the length and expiration time of the user's password. However, when setting the password, the system will prompt: It's bad password! It's way too short! And so on. You can still set a simple password. If you have any knowledge, please let me know. Thank you very much!

In addition, there is a dictionary file named/usr/lib/cracklib_dict.pwd in linux. Using the characters recorded in this file as the password, the system will prompt that the password is too simple!

[Default settings for new users]
Edit the/etc/default/useradd file. conf, which records the default parameters used when the command useradd is used to create a user. modifying this file can reduce unnecessary troubles when creating users in batches. In addition, there are other methods for creating users in batches. I will explain it later!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.