I need to change my admin password to a single character, but the system refuses. Is there a way to change that restriction?
Why not use a short 4character word or numeric PIN code. Surely 3 extra keystrokes is no hardship. Remember password is also used for sudo use.
its asking for longer than 5 characters. I find this so very annoying. My question is : is there anything, like some file I can edit or something to make it accept 1 single character? I'm not fine with the authoritarian behavior of Linux/ After all, its my security. I dont want to spend the rest of my life typing passwords. I have other things to do. Lets just focus on my question if you pleasse..
Assuming what you want is to be able to sign in to your user without being prompted for a password, and to be able to use sudo commands without having to input a password, following the steps in this Ask Ubuntu answer worked perfectly for me.
Otherwise, if you actually want to set your password to a single character, you can simply type sudo passwd $(whoami)
into the terminal. At least that worked for me...
What exactly is authoritarian about it? A setting not being easily accessible — a for very good reasons — doesn't make it so.
To comment on the above, note that you might get a warning about your password being to short, but it will accept it anyway.
If you want to set a non-recommended password, you can do so by setting it in Terminal with the root user with sudo passwd **username here**
. You will see a warning, but you can ignore it and your password will be set. I strongly recommend that instead of doing that, you go to the "Users and Groups" app, and click on change password for the desired user. You'll see that under the password and reset password fields, there is an option that allows you to avoid entering your password every time you log in. In this way, you'll have a password to operate every time you change settings, but You don't have to type it every log in