13,420
edits
Changes
no edit summary
Many administrative tasks require the root administrative account. There are many ways to access this administration account:<ul><li>Login: '''root''' (enter root password)</li><li>Switch User to root (without login):<ul><li>'''su''': Remains in regular user's directory, does not run root's startup script(s).</li><li>'''su -''' : Changes to root's home directory (/root) and runs root's start script(s).</li></ul></li></ul>
<u>Obtaining System Information</u>
It is always recommended to document information regarding a newly-installed Operating System for a company or organization. This information usually contains information regarding the OS (Linux distribution, Kernel version, etc) as well as running processes, hostname, etc.
The following table lists the common Linux commands to help generate this OS documentation:
{| width="100%"
|- valign="top"
|<u>Linux Command</u>
|<u>Purpose</u>
|- valign="top"
|'''grep -i installing /var/log/anaconda/anaconda.packaging.log | wc -l'''
|Obtain information regarding the initial Linux OS installation (including installed packages)
|- valign="top"
|rpm -q -a | wc -l
|Obtain number of files required to allow
|}