Dell Poweredge

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, July 5, 2011

Add sudo to CentOS

Posted on 5:19 AM by Unknown
Install the sudo package
# yum install sudo


Edit the sudo file by removing the # from the # %wheel ALL=(ALL) ALL to uncomment it.
# visudo


Save the changes and quit.
:wq


gpasswd -a username wheel

Change to sudo su.
sudo su -

Confirm that you can login with your username, then disable the root login.
passwd -l root
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Ubuntu Enterprise Cloud
    Hadoop Cluster I had problems with ssh passwordless logins taking ages on the hadoop Ubuntu cluster I was working on. This was fixed by addi...
  • Programming ATTiny45 using an Arduino Uno
    Wiring of the Programmer The Arduino is programmed using the Arduino IDE and USB with the ArduinoISP sketch from the File Menu located in ex...
  • IPTables Lost After Reboot of Head Node
    IPTables Lost After Reboot of Head Node The iptables were lost every time the machine was rebooted so I found I needed to save the iptabels ...
  • NFS not working on some nodes
    NFS not working The nodes were not working and issuing the command showed that there was an NFS mounting problem jimp@compute-2:~$ rpcinfo -...
  • Wake on LAN
    WakeonLAN I have been working with the wakeonlan command and it does not work with the command eg wakeonlan 00:30:48:70:45:8c . I have howev...
  • PXE Boot a Dban image from an Ubuntu Server
     Dhcp Offers from Ubuntu Server to Compute Nodes ****Note**** exercise extreme care with these notes I have made as you can boot and wipe an...
  • Use an ATTiny45 to auto-boot a NAS200 on power up
    I make no guarantees for the information contained herein, I also cannot be held responsible for data loss as a result of your actions, we m...
  • Using Rsync
    Some quick rsync examples rsync -av /memstick/ /mymaindisk/ This will rsync the memstick directory to mymaindisk directory preserving all as...
  • Cluster Head Node Overnight Temperature
    Using the Temperature sensors on the Motherboard The command sensors-detect was used to setup the sensors, then the command sensors was us...
  • Add Serial Port to TP-Link MR3420
    I added a serial port to the MR3420 by first opening up the case. There are four screws under the rubber feet on the base of the case. Once ...

Categories

  • Cluster Login Problem
  • Hadoop Cluster Passwordless SSH login
  • Open-SSH Installation
  • Software Update Command Line

Blog Archive

  • ►  2013 (6)
    • ►  September (3)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (16)
    • ►  November (1)
    • ►  October (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ▼  2011 (17)
    • ►  December (1)
    • ►  November (3)
    • ►  August (4)
    • ▼  July (1)
      • Add sudo to CentOS
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ►  August (2)
    • ►  July (4)
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile