/etc/defaults/rc.conf One commonly used file is /etc/defaults/rc.conf. It
/etc/defaults/rc.conf One commonly used file is /etc/defaults/rc.conf. It contains dozens of lines like this: ……………………………………………………………………………………….. named_enable=NO” ……………………………………………………………………………………….. To change this setting, edit /etc/rc.conf, not /etc/defaults/rc.conf. When editing /etc/rc.conf, list the variable you want to change and what you want to set it to. Your /etc/rc.conf entry will then override what’s in /etc/defaults/rc.conf. (Do not just copy the default file to /etc! This causes any number of problems.) Note While the system install process creates /etc/rc.conf, it’s normal to find that you need to create other override files in /etc. Once you understand the various default files, you can easily assess an unfamiliar FreeBSD system simply by checking the corresponding override files in /etc. /etc/adduser.conf Creating new users on some UNIX systems is a pain, requiring you to manually edit /etc/passwd, rebuild the password database, edit /etc/group, create a home directory, install the various dotfiles, and so on. FreeBSD’s adduser(8) program makes it much simpler to add users by running all these other programs for you. The adduser.conf file holds adduser’s default settings. These variables are easily set just by putting the name, an equal sign, and the value. You can add comments just by putting a pound sign in front of them. Here’s a sample entry from this file, with its related comment: ……………………………………………………………………………………….. # verbose = [0-2] verbose = 1 ……………………………………………………………………………………….. Verbose The first entry, verbose, controls how much you see when running adduser. With verbose = 0, adduser prompts you for the new user information and nothing else. If you set verbose = 1, adduser lets you rewrite /etc/adduser.conf before adding a new user. If you set verbose = 2, adduser gives you a great many warnings, questions, and other information. (While the default is 1, you can easily set this to 0 once you’re familiar with the process, and have adduser.conf set up the way you like it.) Defaultpasswd The defaultpasswd entry, either yes or no, controls whether users have a password set by default. If you have a passwordless account on your system, anyone who knows the username can connect to your system. In any circumstance where you have even the mildest concern for security, set this to yes. 186
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Inexpensive Web Hosting services