Table of Contents

Linux

View and set Account details for a user

View Account details

chage -l <username>

Change Expiry date of user Account

chage -E “2030-01-01” <username>

Handy Commands

if your account has ALL privileges - you can log in as root with the log on (-i) sudo command and your accounts password.

sudo -i

Testing TCP connectivity

If telnet is not installed but CURL is - then you can test TCp connectivity using CURL.

curl -v telnet://123.123.123.123:443