首页 > 其他分享 >su: Authentication failure

su: Authentication failure

时间:2023-09-23 12:14:51浏览次数:35  
标签:virtual zonglin Desktop machine failure Authentication su root

su: Authentication failure

zonglin@zonglin-virtual-machine:~/Desktop$ su
Password: 
su: Authentication failure
zonglin@zonglin-virtual-machine:~/Desktop$ sudo passwd root
New password: 
BAD PASSWORD: The password is shorter than 8 characters
Retype new password: 
passwd: password updated successfully
zonglin@zonglin-virtual-machine:~/Desktop$ su root
Password: 
su: Authentication failure
zonglin@zonglin-virtual-machine:~/Desktop$ su
Password: 
root@zonglin-virtual-machine:/home/zonglin/Desktop# ls
root@zonglin-virtual-machine:/home/zonglin/Desktop# 
root@zonglin-virtual-machine:/home/zonglin/Desktop# 
root@zonglin-virtual-machine:/home/zonglin/Desktop# 

使用passwd修改密码

sudo passwd root	# 修改root 密码

使用 su 切换用户

参考资料:

Ubuntu下postgresql出现Authentication failure(认证失败)

标签:virtual,zonglin,Desktop,machine,failure,Authentication,su,root
From: https://www.cnblogs.com/liuzonglin/p/17724135.html

相关文章

  • 不在 sudoers 文件中
    [sudo]liuzonglin的密码:liuzonglin不在sudoers文件中。此事将被报告。这个错误提示说明您当前使用的用户不具备sudo权限,无法使用sudo命令。如果您需要在当前用户下执行管理员权限的任务,可以尝试使用su命令换为root用户,如下所示:su-执行后,输入root用户的密码即可切换为......
  • P6667 [清华集训2016] 如何优雅地求和 -Binomial Sum
    题面有一个多项式函数\(f(x)\),最高次幂为\(x^m\),定义变换\(Q\):\[Q(f,n,x)=\sum_{k=0}^{n}f(k)\binom{n}{k}x^k(1-x)^{n-k}\]现在给定函数\(f\)和\(n,x\),求\(Q(f,n,x)\bmod998244353\)。出于某种原因,函数\(f\)由点值形式给出,即给定\(a_0,a_1,⋯,a_m\)共\(m+1\)个......
  • 10. (单选题)下面哪个Linux发行版不使用RPM软件包 • A. Fedora • B. OpenEuler • C
    10.(单选题)下面哪个Linux发行版不使用RPM软件包A.FedoraB.OpenEulerC.DebianD.OpenSUSE正确答案:(单选题)负责openEuler版本发布的组织是A.SC(SecurityCommittee)B.TC(TechnicalCommittee)C.理事会D.ReleaseManagementSIG正确答案:2.(单选题)openEuler社......
  • [AGC030D] Inversion Sum
    ProblemStatementYouaregivenanintegersequenceoflength$N$:$A_1,A_2,...,A_N$.Letusperform$Q$operationsinorder.The$i$-thoperationisdescribedbytwointegers$X_i$and$Y_i$.Inthisoperation,wewillchooseoneofthefollowingtwoacti......
  • CF1466E Apollo versus Pan
    原题翻译xjk:降智题。orz\[\begin{align}\sum_{i=1}^{n}\sum_{j=1}^{n}\sum_{k=1}^{n}(x_i\\operatorname{and}\x_j)\times(x_j\\operatorname{or}\x_k)&=\sum_{i=1}^{n}\sum_{j=1}^{n}(x_i\\operatorname{and}\x_j)\times\sum_{k=1}^{n}(x_j\......
  • Ubuntu20.04 ping Temporary failure in name resolution问题
    解决步骤vi/etc/systemd/resolved.conf将DNS的注释取消掉并改成8.8.8.8即可参考:https://blog.csdn.net/weixin_43354181/article/details/105352203......
  • [ARC165D] Substring Comparison
    ProblemStatementForanintegersequence$X=(X_1,X_2,\dots,X_n)$,let$X[L,R]$denotetheintegersequence$(X_L,X_{L+1},\dots,X_{R})$.Youaregivenintegers$N$and$M$,and$M$quadruplesofintegers$(A_i,B_i,C_i,D_i)$.Determineifthereisaninte......
  • . Temporal table join currently only supports 'FOR SYSTEM_TIME AS OF' left table
    org.apache.flink.table.api.ValidationException:SQLvalidationfailed.Temporaltablejoincurrentlyonlysupports'FORSYSTEM_TIMEASOF'lefttable'stimeattributefield  atorg.apache.flink.table.sqlserver.utils.FormatValidatorExcept......
  • Technical support website(URL)
    Thissoftwarerespectsandprotectsthepersonalprivacyofallusersusingtheservice.Inordertoprovideyouwithmoreaccurateandpersonalizedservices,thissoftwarewilluseanddiscloseyourpersonalinformationinaccordancewiththeprovisions......
  • CentOS7安装Supervisor进程守护,并且创建项目
    安装Supervisor#执行epel-releaseepel-release会配置Supervisor的源sudoyum-yinstallepel-release#安装Supervisorsudoyum-yinstallsupervisor#通过配置文件来启动supervisorsudosupervisord-c/etc/supervisord.conf#启动supervisorctlsudosupervisorctl......