Unix Web Hosting for Developers

Unix - Unix Like Operating Systems

/etc/defaults/rc.conf One commonly used file is /etc/defaults/rc.conf. It

Filed under: Unix Web Hosting — webmaster @ 3:41 am

Dotdir The dotdir entry contains the path for sample user dotfiles, such as .cshrc, .login, and so on. The default directory contains reasonable defaults. If you want to create custom dotfiles for your system, it’s best to make your own directory under /usr/local/share/skel so that system upgrades won’t overwrite your changes (see Chapter 6). Send_message If you put a full path to a file in send_message, adduser sends each new user a welcome message. If you set this to no, no message will be sent. The adduser message uses variables; you can add your own by editing /usr/sbin/adduser. If you’re familiar with Perl, this isn’t difficult; if not, you’re better off just using the variables offered: $username, $fullname, and $password. (Since this message is mailed to the new user, including the password is somewhat useless in addition to foolish. Too, the user has presumably used his password to retrieve this message, so he should have it.) Go ahead and create your own message instead of using the brief and generic default if you wish. I generally use an /etc/adduser.message somewhat like this, substituting the appropriate company name as needed: ……………………………………………………………………………………….. $fullname, Welcome to The Company. Help is available at 800-555-1212, or online at http://helpdesk.companyname.com. Use of this account is governed by our acceptable use policy, available at http://aup.companyname.com or on this system in /usr/local/share/company/aup. Thank you for your business. We look forward to serving you. The Company Support Staff. ……………………………………………………………………………………….. Logfile The logfile setting tells adduser where to write a log of everything it does. The default works. Home If your system has unusual partitioning, you might want user directories in a different place than the usual /home. You can control this with the home setting. Path If you install software in an unusual location, you might need to change the path entry. (Some systems have their additional programs stored in /opt.) 187

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Inexpensive Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Unix Web Hosting