Linux General

Configuring sudo Access

Configuring sudo Access Log in to the system as the root user. Create a normal user account using the useradd command. Replace USERNAME with the user name that you wish to create. # useradd USERNAME Set a password for the new user using the passwd command. # passwd USERNAME Changing password for user USERNAME. New password: Retype new password: passwd: all authentication tokens updated successfully.…

Read More

How to List All Jobs in Crontab RHEL

Servers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. For an introduction to Cron check-out our KB: How To: Automate Server Scripts with Cron View Root’s Cron Jobs crontab -l View…

Read More

(MPIO) Multi-path on RHEL

Multipath on RHEL is not to difficult. If you not sure if Multi-Path has been enabled on a server the quick and best way to o check is is via the multipath cmd. # multipath -l mpath1 (3600d0230003228bc000339414edb8101) [size=10 GB][features=”0″][hwhandler=”0″] \_ round-robin 0 [prio=1][active] \_ 2:0:0:6 sdb 8:16 [active][ready] \_ round-robin 0 [prio=1][enabled] \_ 3:0:0:6…

Read More

SAMBA on RHEL Mounted to Windows

What Samba Samba allows file and print sharing between computers running Windows and computers running Unix. It is an implementation of dozens of services and a dozen protocols, including: NetBIOS over TCP/IP (NBT) SMB. Steps to setup Samba Share Step 1. Install Samba on server use Yum (new version dnf) i.e.: sudo yum install samba…

Read More

What’s new in RHEL Enterprise 7

You can find more information at RHEL7 PS! to stay more uptodate with RHEL it is best to stick with Fedora as there are some changes planned around CentOS (Read More). The top new RHEL 7 features, as I see them, are: XFS is the default file system: This enables you to scale file-systems up…

Read More

Linux & User Account Password

RESET ROOT If you have forgotten your root password on a Red Hat Enterprise Linux 6.x based server or a CentOS 6.x based server, you can reset your root password in several different ways providing you have access to the server. The process of changing/resetting the root password involves either booting into single user mode…

Read More

No! Clear Linux history

History on any Linux box is handy to recall old command and you can see what happened on the server over a time frame. Some times things that we deemed as handy could become an security risk to us all. My personal advise would be is to check your history on your personal account and…

Read More

File Permissions on Linux

I add this to my blog as these I found handy on file permission. Simply because I cannot remember it from the grey matter call my brain.   CHMOD Here is a list of some common settings, numerical values and their meanings: Setting Numerical Meaning -rw——- (600) Only the owner has read and write permissions.…

Read More

Privacy Preference Center