<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://orourke.tv/web/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>orourke.tv - os:linux</title>
        <description>every banana has 5 sides</description>
        <link>http://orourke.tv/web/</link>
        <lastBuildDate>Fri, 24 Apr 2026 16:31:07 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>http://orourke.tv/web/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>orourke.tv</title>
            <link>http://orourke.tv/web/</link>
        </image>
        <item>
            <title>centos</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:centos&amp;rev=1604940492&amp;do=diff</link>
            <description>Cent OS

	*  Apache &amp; PHP &amp; MYSQL - LAMP
	*  Upgrading to PHP  7.3
	*  SSL Certificates with Apache on CentOS 7
	*  TLS Certs - Let&#039;s-encrypt

MariaDB / MySQL

Change Root password

MySQL 5.7.6 and later:

ALTER USER &#039;root&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;MyNewPass&#039;

MySQL 5.7.5 and earlier:

SET PASSWORD FOR &#039;root&#039;@&#039;localhost&#039; = PASSWORD(&#039;MyNewPass&#039;);

CentOS

	*</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 09 Nov 2020 16:48:12 +0000</pubDate>
        </item>
        <item>
            <title>crontab</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:crontab&amp;rev=1717147303&amp;do=diff</link>
            <description>Crontab


# Will run &quot;YourCommand&quot; at 00:00 every day of every months
#Min   Hours   D of the M       Month   D of the Week   Command
0      0       *                *       *               YourCommand

# Will run &quot;YourCommand&quot; at 13:30 every day of every months
30     13      *                *       *               YourCommand
Or, as a single line, you can run a command every x hours, like so:

# Will run &quot;YourCommand&quot; every 12 hours
0   */12   *   *   *   YourCommand
or

# Will run &quot;YourComma…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 31 May 2024 09:21:43 +0000</pubDate>
        </item>
        <item>
            <title>home</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:home&amp;rev=1729679475&amp;do=diff</link>
            <description>Linux

	* os_info
	* Changing the MAC address
	* Adding a User with SU root privileges
	* Adding a User with root privileges
	* Cent OS
	* Red Hat Enterprise

View and set Account details for a user

View Account details

chage -l &lt;username&gt;

Change Expiry date of user Account

chage -E “2030-01-01” &lt;username&gt;

	* &lt;https://docs.microsoft.com/en-us/windows/wsl/install-win10&gt;

Handy Commands

if your account has ALL privileges - you can log in as root with the log on (-i) sudo command and</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 23 Oct 2024 10:31:15 +0000</pubDate>
        </item>
        <item>
            <title>mac</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:mac&amp;rev=1526585837&amp;do=diff</link>
            <description>How to change the MAC address on a Red Hat Linux Server

	* Obtain root access 
	* Log in with root privileges 
	* Confirm current MAC address using “ifconfig” 
	* Config Spoofed MAC address by adding the following configuration line to /etc/sysconfig/network-scripts/ifcfg-eth0</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 17 May 2018 19:37:17 +0000</pubDate>
        </item>
        <item>
            <title>os_info</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:os_info&amp;rev=1526585837&amp;do=diff</link>
            <description>Gather Linux OS info

Below was taken from Cisco CUCM 7.1.3 Appliance OS

 Redhat version 


[gerard@CUCM7-02A ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
32 or 64 bit


 32 or 64 bit? 


[gerard@CUCM7-02A ~]$ getconf LONG_BIT
32</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 17 May 2018 19:37:17 +0000</pubDate>
        </item>
        <item>
            <title>rhe</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:rhe&amp;rev=1640019254&amp;do=diff</link>
            <description>Red Hat Enterprise Linux

	* &lt;https://developers.redhat.com/products/rhel/download&gt;

How to join a Linux system to an Active Directory domain

&lt;https://www.redhat.com/sysadmin/linux-active-directory&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 20 Dec 2021 16:54:14 +0000</pubDate>
        </item>
        <item>
            <title>root-user</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:root-user&amp;rev=1526585837&amp;do=diff</link>
            <description>Add a User with Root Priviledges

This info take from
&lt;http://www.voiceie.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=000238&gt;

	* Boot CentOS and use linux rescue and chroot to the CCM drive.
	* Add a user superuser


chroot /mnt/sysimage
chattr -i /etc/passwd /etc/group /etc/shadow /etc/gshadow
useradd -g root -G root,wheel -s /bin/bash superuser
passwd superuser</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 17 May 2018 19:37:17 +0000</pubDate>
        </item>
        <item>
            <title>su-root-user</title>
            <link>http://orourke.tv/web/doku.php?id=os:linux:su-root-user&amp;rev=1526585838&amp;do=diff</link>
            <description>Add An SU User With Root Privileges

	*  Boot the Red Hat Server with CentOS 5.1 Disk1
	*  Type ‘linux rescue’ at the boot prompt
	*  Use the chroot command to change the root to the existing partition chroot /mnt/sysimage
	*  Backup the /etc/passwd, /etc/group, /etc/shadow and /etc/gshadow files cp -a /etc/passwd /etc/passwd.bak</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 17 May 2018 19:37:18 +0000</pubDate>
        </item>
    </channel>
</rss>
