I tried to change my password to a one digit character since my drive is already password encrypted with LUKS

I only want to enter in a one digit password for sudo, etc.
User Aravisian gave instructions in the article below, on how to change password to a short PIN code.
I followed the instructions, but it wont let me change my password to for example number 5, or letter g. Is there a minimum character limit? when I use the settings feature to change my password, they require the password be complex & minimum of about 10 characters.

Does this run in Lite?

sudo passwd root

I dont have Lite, i have core. what is that supposed to do?

It works on both Lite & Core.
It will reset your sudo password.

Could you please change the Zorin Edition in your profile.. or state In the OP the Edition related to your question, saves the confusion.
Thank you.

I changed my profile, sorry i just started using Zorin core about 48 hours ago.

1 Like

@Ocka , thank you for the suggestion,
"sudo passwd root"

This doesnt work, i tried changing my password to number 6, or letter g. and it says it changed it successfully, but when i test it, it instantly auto reverts back to my previous lengthy password. So it never really actually changed it. Maybe there is a minimum length requirement?

Try again then reboot,
Try the space bar as a password, 1 0r 2 clicks

Okay, i just did that, did one space bar click as a password. then rebooted, it still reverted back to previous lengthy password.

Im offline now.
If no luck try:

sudo passwd -f root

If this is the user password then try

sudo passwd -f username

-f is to force it to set.

1 Like

Both commands give error & appear to not like your "-f" part, are you sure thats correct?

"passwd: invalid option -- 'f'
Usage: passwd [options] [LOGIN]

Options:
-a, --all report password status on all accounts
-d, --delete delete the password for the named account
-e, --expire force expire the password for the named account
-h, --help display this help message and exit
-k, --keep-tokens change password only if expired
-i, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-l, --lock lock the password of the named account
-n, --mindays MIN_DAYS set minimum number of days before password
change to MIN_DAYS
-q, --quiet quiet mode
-r, --repository REPOSITORY change password in REPOSITORY repository
-R, --root CHROOT_DIR directory to chroot into
-S, --status report password status on the named account
-u, --unlock unlock the password of the named account
-w, --warndays WARN_DAYS set expiration warning days to WARN_DAYS
-x, --maxdays MAX_DAYS set maximum number of days before password
change to MAX_DAYS"

1 Like

Try

sudo -i

to elevate to root
Then, run

passwd

1 Like

@Aravisian , having serious problems, please look
https://forum.zorin.com/t/urgent-zorinos-is-freezing-at-login-im-locked-out-of-my-os/25604

Yes sorry they seem not to use -f ( force) i assume as we're using the command under sudo level.
So sudo itself should force the command.

as you see -e ( to be unforced) Eg; sudo passwd -e username << will delete password & make user create new PW.

Good that you used/found the --help file's ( very helpful when learning )
Also try the " man " = manual ,
eg: man passwd this is nearly the same as --Help, with more info.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.