Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:home [2019/01/13 16:13] – [Linux] gerardorourkeos:linux:home [2024/10/23 11:31] (current) – [Handy Commands] gerardorourke
Line 6: Line 6:
   *[[os:linux:root-user|Adding a User with root privileges]]   *[[os:linux:root-user|Adding a User with root privileges]]
   *[[os:linux:centos|Cent OS]]   *[[os:linux:centos|Cent OS]]
 +  *[[os:linux:rhe|Red Hat Enterprise]]
  
 ==== View and set Account details for a user ==== ==== View and set Account details for a user ====
Line 14: Line 15:
 === Change Expiry date of user Account === === Change Expiry date of user Account ===
 chage -E "2030-01-01" <username> chage -E "2030-01-01" <username>
 +
 +  *https://docs.microsoft.com/en-us/windows/wsl/install-win10
 +
 +===== 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.
 +<code>sudo -i</code>
 +
 +===== Testing TCP connectivity =====
 +
 +If telnet is not installed but CURL is - then you can test TCp connectivity using CURL.
 +
 +<code>curl -v telnet://123.123.123.123:443</code>
 +
  • os/linux/home.1547396000.txt.gz
  • Last modified: 2019/01/13 16:13
  • by gerardorourke