Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux reset password prompt is similar to user name solution

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you linux reset password tips and user names similar to the solution, I believe that most people do not know much, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!

The method is as follows

First, verify whether it is a problem of password complexity

1. Edit the file using the command: vi / etc/login.defs

2. Similar rules are not seen from the contents of the file.

3. Use the command to edit: vi / etc/pam.d/system-auth

4. No settings related to error reporting are found in the password policy.

Second, mandatory setting of passwords

Through Baidu, it turns out that such problems can be executed directly through another command. There are two ways to write it.

The premise is that you must switch to the root user and execute with root privileges.

Method 1:

Echo oracle123 | passwd-- stdin oracle

Reset the password for oracle users to: oracle23

Prompt after reset: all authentication tokens updated successfully, indicating successful reset

Method 2: use the command

Passwd-- stdin oracle, enter and enter, prompt for the password, enter the password as oracle123, and enter enter

Prompt after successful execution: all authentication tokens updated successfully, indicating a successful reset

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

The above is all the contents of the article "linux reset password prompt is similar to user name solution". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report