Check all user's password expiry date except system users on Linux based system.
for user in $(cat /etc/passwd |cut -d: -f1); do echo $user; chage -l $user | grep "Password expires"; done | paste -d " " - - | sed 's/Password expires//g' | grep -v "never"
Thursday, May 27, 2021
Subscribe to:
Post Comments
(
Atom
)
Hi your posts are really good. also please look into the another blog,
ReplyDeletehttps://thelinuxfaq.com/
This or that Oracle is the best!!! Don’t know how it got this name in this short period!!! Anyways If you are not able to find your path make your own path. It’s also suitable for your career decision.make a smart move by visiting our website Oracle training in Chennai.Oracle Training in Chennai | Infycle Technologies
ReplyDeleteHi your posts are really good. also please look into the another blog,
ReplyDeletehttps://thelinuxfaq.com/