To add a user who can execute the commands using root super user permissions (root password was entered during distribution file installation), execute the following operations:
Log in to the system under the account created during installation.
su
Enter root user password.
nano /etc/sudoers
After the strings:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
add a string:
<user name> ALL=(ALL) ALL
Enter the working account name instead of the <user name>. Press F2 to confirm changes.
su <user name>
Or just close the terminal window and reopen it.
Connecting of DVD disk with RHEL repository is necessary if there is no internet connection. To connect, execute the following operations:
Copy the files to the home directory:
rhel-server-6.1-x86_64-dvd.iso;
dvd.repo.
sudo mkdir -p /media/RHEL_6.1\ x86_64\ Disc\ 1
sudo mount -o loop /home/foresight/rhel-server-6.1-x86_64-dvd.iso /media/RHEL_6.1\ x86_64\ Disc\ 1/
sudo cp dvd.repo /etc/yum.repos.d/
See also: