USE THESE COMMANDS AT YOUR OWN RISK. IF YOU DON'T UNDERSTAND WHAT THEY DO, DO NOT USE THEM AND GO TO MAN PAGES!
Compute and display the age of the user's password:
root@sol# echo $(/bin/perl -e 'print int(time/(60*60*24))') - $(grep root /etc/shadow | cut -d: -f3) | /bin/bc
102
- Log in to post comments
- 14138 views