Wednesday, December 12, 2007

How to Add Items to the Context Menu, "Send To" in Windows

By using the Send To command, you can quickly send a file to different locations including a floppy disk, your desktop, another person using e-mail, or the My Documents folder. The SendTo folder contains the shortcuts for the destinations that are displayed on the Send To menu. Every user on the computer has a SendTo folder and can customize its contents.

Friday, November 30, 2007

How to Make a User a Sudoer

  1. Add user to wheel group:
    $ vim /etc/group
    - wheel:x:10:root,newuser
    
    or simple do this:
    $ gpasswd -a newuser wheel
    
  2. Uncomment this line in sudoers file:
    $ vim /etc/sudoers
    - ## Allows people in group wheel to run all commands
    - %wheel    ALL=(ALL)    ALL
    
    or
    $ visudo
    

Thursday, November 1, 2007

How to Make Sure MySQL Server Runs at Startup

To make sure mysqld runs at system startup time, type the following commands:
sudo /sbin/chkconfig --add mysqld
sudo /sbin/chkconfig --level 235 mysqld on
To make sure mysqld is configured properly, type the following:
sudo /sbin/chkconfig --list mysqld
The output should look like this:
mysqld           0:off 1:off 2:on 3:on 4:off 5:on 6:off