LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux - chage (https://www.linuxquestions.org/questions/linux-newbie-8/linux-chage-4175687907/)

hdg40813 01-03-2021 02:26 AM

Linux - chage
 
Hi there,

I am new to linux and installed centos 8.
When I try to excute the below command, the terminal doesn't show any output. Command is executing without error but no output.

chage -l <existing username>

I guess, the normal output should display user password properties.


Thanks

Brains 01-03-2021 02:53 AM

Are you doing it as root or sudo? You may not get results running that command as a user.

hdg40813 01-03-2021 03:09 AM

Ran the command as root user.

The same command i ran on centos 7 is worked well.
But no output on centos 8.


All times are GMT -5. The time now is 12:24 PM.