- Add user to wheel group:
$ vim /etc/group - wheel:x:10:root,newuser
or simple do this:$ gpasswd -a newuser wheel
- Uncomment this line in sudoers file:
$ vim /etc/sudoers - ## Allows people in group wheel to run all commands - %wheel ALL=(ALL) ALL
or$ visudo
Friday, November 30, 2007
How to Make a User a Sudoer
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 onTo make sure mysqld is configured properly, type the following:
sudo /sbin/chkconfig --list mysqldThe output should look like this:
mysqld 0:off 1:off 2:on 3:on 4:off 5:on 6:off
Subscribe to:
Posts (Atom)