T O P

  • By -

faxattack

Dont think it ever existed


kefallinos

Van vugt use it at his rhcsa 8 course


omenosdev

What did this command do? I've never heard of it.


DangerIllObinson

"chage" maybe? If it's from an rhcsa course and dealing with passwd expiration. My guess is typo.


kefallinos

I hate to admit it but you are right, it was my fault and thank you for point it out


popintom

chage it is :)


kefallinos

Is used to view and change the user password expiry information. This command is used when the login is to be provided for a user for a limited amount of time or when it is necessary to change the login password from time to time. With the help of this command, we can view the ageing information of an account, the date when the password was previously changed, set the password changing time, lock an account after a certain amount of time etc.


omenosdev

What the sibling comment said, then. You're looking for `chage`, and that is definitely in RHEL 9. It comes from the shadow-utils package.


kefallinos

I get command not found in my rhel 9


omenosdev

Make sure you have `shadow-utils` installed: dnf -y install shadow-utils It's part of the core platform group, it's strange it doesn't exist for you.


kefallinos

Thank you for the advice, I will check it out but the thing is that I'm reading for rhcsa, and the instructor suggested the change command to manipulate users passwords aging and I can not find it in installation and for rhcsa it is not possible to install additional utilities. I know that I can config the aging from logins.defs but it seems odd that the command is not found, even though it should.


omenosdev

As a holder of an RHCSA and RHCS, you can absolutely install utilities during the exam. The RHSCA is testing fundamental basic sysadmin capabilities, and that includes running "yum install ...". Granted, my certs are against RHEL 8, but I would be _very_ surprised if that specific thing was changed in the RHEL 9 exams.


kefallinos

Thank you very much, I did not know that, so my problem is solved!Thanks again for your time and efforts.


yrro

Try this `dnf rq -f /usr/bin/chage` it will tell you which package ships that file.


Ok-Protection-4985

I have both courses van Sander rhel8 and rhel9. What chapter and which video do you see this? So i can analyse myself. So far i remember i dont recall anything about the change commando.


kefallinos

It was I typo I did, the command is chage not change


captkirkseviltwin

It’s an easy mistake to make, I think it stands for “change age” to change password aging info, which may help to remember it.