▲ 5 r/redhat_certification+1 crossposts

User password management. Question about the "chage" command

I am practicing for the RHCSA exam but i ran into a problem that i am unsure of why it occurs. When i try to set an expiration date for a user account using chage like this:

chage -E 2026-10-25 exampleuser    

I always appear to get the wrong date in the "Account expires" field when i verify:

chage -l exampleuser
Last password change                                    : Jul 07, 2026
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : Oct 24, 2026
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7

I set it to 25th but when verifying it is set to the 24th and it always ends up off by 1 day like this no matter the date. Does anyone know why this happens?

Some additional information that i doubt matters is that i am in UTC+2 and system's time settings seem completely fine. I am worried that this could lead to a point deduction on the exam.

reddit.com
u/Mep77 — 5 days ago

User password management. Question about the "chage" command

Hi. I am trying to learn to use the chage command to manage user passwords and accounts but i ran into a problem that i am unsure why it occurs. When i try to set an expiration date for a user account using chage like this:

chage -E 2026-08-25 exampleuser

I appear to get the wrong date when i verify:

chage -l exampleuser
Last password change                                    : Jul 07, 2026
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : Aug 24, 2026
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7

Does anyone know why it is always off by a day? I set it to 25th but when verifying it seems is the 24th? Any tip or advice is appreciated!

reddit.com
u/Mep77 — 1 month ago

Flatpak, user vs system

Hi, I am trying to learn Flatpak and i am running into an issue that i would like some input on. If i install a Flatpak remote repository as a system-wide repository, is it not possible for you to install user-only applications from it?

I got flathub added system-wide and working, but if i try:

flatpak install --user flathub APP

I get:

Looking for matches…

error: No remote refs found for ‘flathub’

The APP exists on the remote since i can query information about it. So is it not possible to install from system-wide remotes to your user only? Am i required to add the remote as a user remote? I am confused.

reddit.com
u/Mep77 — 3 months ago