Linux:Centos7.x系统,无效的密码问题处理

在VMware中为Centos7test账号设置简单密码的解决方案,
文章讲述了用户在使用VMware安装Centos7时,尝试为test账号设置简单密码123456时遇到错误。作者提供了解决方案,即忽略错误提示,连续两次输入相同的密码即可

一、情景说明

我用VMware新安装了Centos7系统,在使用的过程中,我需要创建一个test账号
那么,同时我就要给这个账号设置一个密码
为了方便,我设置成123456
就报错了
在这里插入图片描述

二、解决办法

其实这个问题很容易处理,不需要像其他帖子说,改配置文件。

你不用管这个提示
连续两次输入123456,就OK
在这里插入图片描述

查看错误原因,[13:54:37.578] Log Level: 2 [13:54:37.580] remote-ssh@0.76.1 [13:54:37.580] win32 x64 [13:54:37.586] SSH Resolver called for "ssh-remote+112.74.167.19:22", attempt 1 [13:54:37.586] "remote.SSH.useLocalServer": false [13:54:37.586] "remote.SSH.showLoginTerminal": false [13:54:37.587] "remote.SSH.remotePlatform": {"112.74.167.19":"linux"} [13:54:37.587] "remote.SSH.path": undefined [13:54:37.587] "remote.SSH.configFile": undefined [13:54:37.587] "remote.SSH.useFlock": true [13:54:37.587] "remote.SSH.lockfilesInTmp": false [13:54:37.587] "remote.SSH.localServerDownload": auto [13:54:37.587] "remote.SSH.remoteServerListenOnSocket": false [13:54:37.587] "remote.SSH.showLoginTerminal": false [13:54:37.587] "remote.SSH.defaultExtensions": [] [13:54:37.587] "remote.SSH.loglevel": 2 [13:54:37.587] "remote.SSH.enableDynamicForwarding": true [13:54:37.588] "remote.SSH.enableRemoteCommand": false [13:54:37.589] "remote.SSH.serverPickPortsFromRange": {} [13:54:37.589] "remote.SSH.serverInstallPath": {} [13:54:37.623] SSH Resolver called for host: 112.74.167.19 [13:54:37.623] Setting up SSH remote "112.74.167.19" [13:54:37.628] Using commit id "b3e4e68a0bc097f0ae7907b217c1119af9e03435" and quality "stable" for server [13:54:37.630] Install and start server if needed [13:54:37.632] Checking ssh with "ssh -V" [13:54:37.681] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 [13:54:37.686] Running script with connection command: ssh -T -D 65236 -p 22 "112.74.167.19" bash [13:54:37.688] Terminal shell path: C:\WINDOWS\System32\cmd.exe [13:54:37.873] > [?9001h[?1004h [13:54:37.873] Got some output, clearing connection timeout [13:54:38.185] > forest@112.74.167.19's password:]0;C:\WINDOWS\System32\cmd.exe [13:54:38.185] Showing password prompt [13:54:42.934] Got password response [13:54:42.934] "install" wrote data to terminal: "*********" [13:54:42.946] > [13:54:44.974] > Permission denied, please try again. [13:54:44.982] > forest@112.74.167.19's password: [13:54:44.982] Showing password prompt [13:54:51.552] Got password response [13:54:51.553] "install" wrote data to terminal: "*********" [13:54:51.564] > [13:54:54.023] > Permission denied, please try again. [13:54:54.044] > forest@112.74.167.19's password: [13:54:54.044] Showing password prompt [13:54:57.559] Got password response [13:54:57.559] "install" wrote data to terminal: "*********" [13:54:57.569] > [13:54:59.182] > forest@112.74.167.19: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). [13:54:59.197] > 过程试图写入的管道不存在。 [13:55:00.565] "install" terminal command done [13:55:00.566] Install terminal quit with output: 过程试图写入的管道不存在。 [13:55:00.566] Received install output: 过程试图写入的管道不存在。 [13:55:00.566] Failed to parse remote port from server output [13:55:00.567] Resolver error: Error: at f.Create (c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:586041) at t.handleInstallOutput (c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:584693) at t.tryInstall (c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:681846) at async c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:644486 at async t.withShowDetailsEvent (c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:647831) at async t.resolve (c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:645565) at async c:\Users\forest\.vscode\extensions\ms-vscode-remote.remote-ssh-0.76.1\out\extension.js:1:722872 [13:55:00.571] ------
最新发布
08-14
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值