zoukankan      html  css  js  c++  java
  • ubuntu设置简单密码

    在安装 Ubuntu 的时候建立的帐户 sai,想把密码改成两个字母aa,方便输入。

    运行终端

    sai@xmomx:~$ passwd sai
    更改 sai 的密码。
    (当前)UNIX 密码: xx
    输入新的 UNIX 密码: aa
    重新输入新的 UNIX 密码:aa
    必须选择更长的密码
    输入新的 UNIX 密码: 1234567
    重新输入新的 UNIX 密码: 1234567
    Bad: new password is too simple
    输入新的 UNIX 密码:

     怎么办?加上su权限执行即可。这样来做:

    方案一:

    sai@xmomx:~$ sudo passwd sai
    [sudo] password for sai:  xxx
    输入新的 UNIX 密码: aa
    重新输入新的 UNIX 密码: aa
    passwd:已成功更新密码

    方案二:

    sai@xmomx:~$ su
    密码: super
    root@xmomx:/home/sai# passwd sai
    输入新的 UNIX 密码: aa
    重新输入新的 UNIX 密码: aa
    passwd:已成功更新密码
    root@xmomx:/home/sai#

    成功!

    原文: https://blog.csdn.net/shendayjy/article/details/10299113

  • 相关阅读:
    使用Mybatis时报错Invalid bound statement (not found):
    MyBatis学习(3)
    选数字
    看程序写结果
    NP
    完全平方数
    hahaha
    haha

    凝视
  • 原文地址:https://www.cnblogs.com/CodeWorkerLiMing/p/12814393.html
Copyright © 2011-2022 走看看