Tuesday, 5 July 2011

Add sudo to CentOS

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

CNC 6040 Spindle Control

Note: This is only an on - off control there is no speed control due to limitations on the CNC control box , you set the speed using the pot...