adduser -s (s – silent, not a verbose o/p). Use option “-verbose” if you want to see more warnings and questions or try to repair bugs. The following are the info to be input while adding an user. Enter username [^[a-z0-9_][a-z0-9_-]*$]: perfectpair Enter full name : shelluser Enter shell bash
inetd is initialized through the rc system. The inetd_enable option is set to NO by default, but may be turned on by sysinstall during installation, depending on the configuration chosen by the user. Placing: inetd_enable=”YES” or inetd_enable=”NO” into /etc/rc.conf will enable or disable inetd starting at boot time. The command:
sysctl is an interface that allows you to make changes to a running FreeBSD system. This includes many advanced options of the TCP/IP stack and virtual memory system that can dramatically improve performance for an experienced system administrator. Over five hundred system variables can be read and set using sysctl.
If you are running FreeBSD 5.0 or later you can safely skip this section. These versions use devfs to allocate device nodes transparently for the user. Almost every device in the kernel has a corresponding node entry in the /dev directory. These nodes look like regular files, but are actually
pkg_info is a utility that lists and describes the various packages installed. # pkg_info cvsup-16.1 A general network file distribution system optimized for CV docbook-1.2 Meta-port for the different versions of the DocBook DTD pkg_version(1) is a utility that summarizes the versions of all installed packages. It compares the package
You can use the pkg_add to install a software package from a local file or from a server on the network. pkg_add lsof-4.56.4.tgz If you do not have a source of local packages (such as a FreeBSD CD-ROM set) then it will probably be easier to use the -r option
To bind IPs to your FreeBSD server: Open /etc/rc.conf with your editor: # vi /etc/rc.conf You should see a line which looks like this: ifconfig_fxp0=”inet 66.96.xx.10 netmask 255.255.255.255″ where 66.96.xx.10 is the main ip address of your server. Directly under it add this ifconfig_fxp0_alias0=”inet 66.96.xx.11 netmask 255.255.255.255″ Change 66.96.xx.11 to
A portion of each UFS partition (8%, by default) is reserved for use by the operating system and the root user. The df command does not count this reserved space while calculating the Capacity column, so it can exceed 100%. The output of the df command always shows that the
Login as the root user and run the command /stand/sysinstall Select Index => Partition => the disk to edit with arrow keys and SPACE. To use the entire disk for FreeBSD, select A. Answer YES for the question: Do you want to do this with a true partition entry so
pkg_add does not install into /usr/ports directory. pkg_add command downloads a pre-compiled binary package of the software and installs into /usr/local/*. After that the software is installed and ready to run. There’s no need to compile anything via /usr/ports.
The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications. These application use the /usr/ports directory. Running “make clean” after installing applications will remove the work directory files. Another way to do this is running the command: portsclean -CD where :- -C clean