Q. How do I use chkconfig on FreeBSD to start services automatically?
A. You cannot use chkconfig on FreeBSD. It is RedHat/CentOS/Fedora Core only command. FreeBSD provides another facility called rc.conf. This file contains which services should be started up at system initial boot time. You can edit this file by hand using text editor or use sysinstall text based GUI tool to update this file.
Task: Start services automatically initial boot time
For example to start OpenSSH / SSHD services automatically initial boot time:
# vi /etc/rc.conf
Append following line:
sshd_enable="YES"
Save and close the file.
Task: Start services automatically initial boot time using sysinstall
Type the following command:
# sysinstall
See this article how to use sysinstall to start services.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- My 10 UNIX Command Line Mistakes
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
- Email FAQ to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: 08/28/06


{ 0 comments… add one now }