[LINUX] What to do if ubuntu says your password is too short to change [passwd command] [ubuntu]

I changed my password on ubuntu. Before changing ●●●● ⇛ After changing ●●●●●●●●●●●

After all, I thought that 4 letters would be better, so I decided to return to ●●●●. When I want to change it, I can't press change. (゚ Д ゚) Password is too short. It is . Screenshot from 2020-08-15 13-14-35.png

I tried it on the terminal.

$ sudo passwd -f

It was no good (^ ^;) Screenshot from 2020-08-15 13-15-22.png

I looked it up on google. passwd short password

Result of investigation

How to set a short password on Ubuntu?

$ sudo passwd [username]

Replace [Username] with the username whose password you want to change.

$ sudo passwd ichiri
[sudo]ichiri password: #Enter your current password
new password: #new passwordを入力
Please re-enter your new password: #Re-enter new password(Be careful)
passwd:Password updated correctly#success
$ 

Recommended Posts

What to do if ubuntu says your password is too short to change [passwd command] [ubuntu]
What to do if you forget your login password on Manjaro Linux
What to do if fprintd requires a password when registering your fingerprint
What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do if pyenv is not enabled (zsh)
What to do if your Jupyter Notebook for beginners asks for a password or token
What to do if you lose your EC2 key pair
What to do if Linux Modem Manager is interfering with writing keymaps to your own keyboard
What to do when Ubuntu crashes
What to do if yum breaks
What to do if python says "fatal error:'stdio.h' file not found"
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if the inode is exhausted on EC2 Linux
What to do if you can't build your project with Maven
What to do if there is a decimal in python json .dumps
What to do if the Pipenv environment is corrupted by updating Homebrew
What to do if your disk runs out due to MySQL binary logs
What to do if the yum command fails to set locale, defaulting to C
What to do if you get an error when installing Dlib (Ubuntu)
What to do after installing Linux (Ubuntu)
What to do if CERTIFICATE_VERIFY_FAILED occurs when nltk.download () is done on macOS pyhon
Let's Encrypt updated! What to do if the certbot renew command doesn't work
What to do if abort is displayed when inputting camera video in OpenCV
What to do if an SSL connection error (ssl.SSLError: [SSL: DH_KEY_TOO_SMALL]) occurs on Ubuntu 20.04
What to do if (base) is displayed at the beginning of the Mac terminal
What to do if pipreqs results in UnicodeDecodeError
What to do if you can't pipenv shell
Note: What to do if pip install fails
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do if pip cannot be installed
What to do if atom autocomplete-python doesn't work
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
What to do if you get an "unknown service" error from your gRPC server
What to do if the print command itself causes an error in Maya python
What to do if the progress bar is not displayed in tqdm of python
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do if pip install fails in Xcode 5.1
What to do if you can't pip install mysqlclient
curl: (60) What to do when Issuer certificate is invalid.
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if SciPy installation fails on CentOS
What to do if a UnicodeDecodeError occurs in pip
pipenv shell is no longer available ... what to do?
What to do if pip install fails to install dependent libraries
What to do if sys / cdefs.h does not exist
What to do if Jupyter Notebook on WSL does not start automatically in your browser
What to do if the image is not displayed using matplotlib etc. in the Docker container
What to do if GeoPandas installation fails (Fiona / GDAL error * Rtree installation method is also added)