Linuxconf 1.9 Introduction 11.. QQuu''eesstt--ccee qquuee _L_i_n_u_x_c_o_n_f Voici _L_i_n_u_x_c_o_n_f, un utilitaire de configuration et de gestion pour _L_i_n_u_x. Il vous permet de configurer et controller les services suivants: · Réseau (client) · Connectivitié IP de base · Aiguillage · Localisation du serveur DNS · NIS client · Connectivité IPX (novell) · Connectivité PPP et SLIP (modem) · Réseau (serveur) · Service de démarrage: RARP et DHCP · DNS · IP Aliasing · NFS · Courrier électronique · Uucp · X11 · Comptes usager · Ressources par usager · Systèmes de fichiers (partitions) · Mode de démarrage · LILO · Boot runlevel One key difference between _L_i_n_u_x_c_o_n_f and other configuration utility is that _L_i_n_u_x_c_o_n_f take care of the activation. As an example, if you elect to make some portion of your hard drive available to other machine (export a file system or a portion of it) via _N_F_S (Network File System), _L_i_n_u_x_c_o_n_f will not only help you entering the configuration information but will start the _N_F_S server. If you change your mind later and delete the NFS configuration, _L_i_n_u_x_c_o_n_f will stop the _N_F_S server. 22.. CCoommmmaanndd lliinnee uussaaggee Linuxconf is an interactive utility. It may be used as a command line utility. It is useful to do script. Furthermore, Linuxconf has several alias allowing you to enter directly into one of its functionality. Here they are. · _d_o_m_a_i_n_n_a_m_e Print and set the _N_I_S domainname. · _d_n_s_c_o_n_f It gets you directly in the main menu of the DNS configurator. · dnsconf --set host ip ... Install a host definition in the DNS configuration. It will update the domain and the reverse mappings. · dnsconf --setfromip host ip Install a host definition in the DNS configuration. It will update the domain and the reverse mappings. Unlike the --set option, this will delete all other host entry which point to this IP number. This func­ tionnality is provided as a hook for automatic DNS update from a DHCP server. · dnsconf --unset host Remove all reference to a host (A record and PTR record) from the DNS configuration. · _f_i_x_p_e_r_m _f_i_x_p_e_r_m make sure the vital files and directories have proper ownership and permissions. Without argument, it prints it command line option. · _f_s_c_o_n_f It gets you directly in the file-systems configuration menu. · fsconf --check Do some sanity check (and correction) in /etc/fstab. · _h_o_s_t_n_a_m_e Print and set the host name. · _l_i_n_u_x_c_o_n_f Without argument, it simply gets in linuxconf's main menu. · linuxconf --shutdown Jump straight in the shutdown dialog. Useful to setup a button in your X desktop. · _p_a_s_s_w_d Allows you to change your password, or the password of other users if you are root or knows the root password. "passwd -h" shows the options · _n_e_t_c_o_n_f Without argument, will get you into the networking sub-menu of _L_i_n_u_x_c_o_n_f. Here are the command line options. · netconf --connect pppsetup [--fore] Establish a PPP connection using the _p_p_p_s_e_t_u_p specification. Option­ nally stays in foreground (--fore option). netconf will terminate (when not using --fore) only when the link is up or the connection has failed. A useful code is return. This allows easy script like this #!/bin/sh if netconf --connect config then you can use the network right away else the connection has failed fi · netconf --disconnect pppsetup Terminate a PPP connection. · netconf --resetfw Turn off packet filtering (Firewall) completely. This is normally used as an emergency trick to bring back a network to life after applying a "too" drastic fire-walling rule. netconf --update will reactivate theses rules. · netconf --runlevel local | client | server Switch the workstation to a different operation mode. · netconf --status Check what has to be done to bring the workstation in sync with its configuration. · netconf --update Make the configuration file effective (make what netconf --status tells you that have to be done. · _u_s_e_r_c_o_n_f It gets you directly in the user configuration menu. 33.. TThhee WWWWWW iinntteerrffaaccee _L_i_n_u_x_c_o_n_f may be operated from an Web browser. To access linuxconf on your machine, point your browser to http://your_machine:98/ From there, you will have access to the same menu like the normal user interface. You may even set bookmarks allowing you to get back quickly to one configuration screen later. 33..11.. SSppeecciiffiicc eennttrriieess ttoo tthhee WWWWWW iinntteerrffaaccee A special entry point has been created, allowing users to change their own password from a browser. To access this, you must use a _s_p_e_c_i_a_l _U_R_L. We suggest that you encode this URL in one of your corporate html page (change your own password, click here). The URL is http://your_machine:98/htmlmod:userpass: 44.. GGeenneerraall iinnffoorrmmaattiioonn _L_i_n_u_x_c_o_n_f has been written at _S_o_l_u_c_o_r_p by Jacques Gelinas (jacques@solucorp.qc.ca). Comments and bug reports are accepted via email. Most screens do have a help button. You can access this buttons using the TAB key or directly using the F1 function key. Some fields have a companion pop-up selection list. These fields are identified with a down pointing arrow at the right end. You can depress the cntl-X key (Control and X at the same time) to activate the pop-up. You can pick a choice and either confirm the selection with the ENTER key or TAB your way to the QUIT button. The function key F3 escape from any dialog. 55.. MMaaiilliinngg lliisstt A mailing has been created to discuss _L_i_n_u_x_c_o_n_f enhancement. It is also used to announce intermediate releases. To subscribe, send email to linuxconf-request@solucorp.qc.ca. To send a message to the list, just send it to linuxconf@solucorp.qc.ca.