<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Administration FAQ</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Administration FAQ</h1>
</div>
<div id="content">



<div class="wikitext"><p class="tightenable top bottom"><b> Administration FAQ</b> |
<a href="InstallationFAQ.html" class="wiki">InstallationFAQ</a> |
<a href="SecurityFAQ.html" class="wiki">SecurityFAQ</a> |
<a href="TroubleshootingFAQ.html" class="wiki">TroubleshootingFAQ</a> |
<a href="Tweaking%20FAQs.html" class="wiki">Tweaking FAQs</a>
<br /> <a name="top" id="top"></a></p>
<hr />
<p class="tightenable top bottom"><i>back to</i> <a href="SME%20Server%20FAQs.html" class="wiki">SME Server FAQs</a></p>
<ul><li class="tightenable top bottom"><a href="AdministrationFAQ.html#squid_portopening" class="named-wiki" title="">How to open ports on the Squid Proxy Server</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#makeinvisible" class="named-wiki" title="">How do i make the admin account/a user account invisible for external emails?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#update" class="named-wiki" title="">Which updates do I need to apply to SME?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#remote" class="named-wiki" title="">How can I manage SME remotely?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#adminConsol" class="named-wiki" title="">How do I open a session in a terminal when I am on the administration console?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#software" class="named-wiki" title="">How do I add additional software to SME?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#rpm" class="named-wiki" title="">How do I install and update RPMs?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#compile" class="named-wiki" title="">I need to compile applications under SME. What do I need?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#smtp" class="named-wiki" title="">How do I send email (with SME smtp server) when I'm oustide my local area network?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#inbound" class="named-wiki" title="">How do I authorize entering (inbound) connections of 'NetMeeting' or H323?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#modemInitialization" class="named-wiki" title="">How do I configure the modem initialization strings in SME?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#limit12carac" class="named-wiki" title="">Is it possible to exceed twelve characters limit of the names of account, group or i-bay?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#ntp" class="named-wiki" title="">Can LAN workstations be synchronized (NTP) on SME Server?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#linuxConfTools" class="named-wiki" title="">Can I use other linux configuration tools on SME, such as 'WebMin', 'SWAT'...?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#kernelSource" class="named-wiki" title="">Where can I find the source code of the SME Kernel?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#kernelConfig" class="named-wiki" title="">Where can I find the .config file used to configure SME Kernel?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#chmod" class="named-wiki" title="">Why isn't chmod authorized via ftp?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#modemConnection" class="named-wiki" title="">How do I configure SME to use a permanent connection by modem?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#ssh2" class="named-wiki" title="">How do I modify the configuration to use protocol SSH 2.0?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#dns" class="named-wiki" title="">Why does SME recommend not to use a primary or secondary external DNS server?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#extdns65" class="named-wiki" title="">How do I forward DNS name resolution requests to another DNS server anyway, in SME 6.5?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#backup" class="named-wiki" title="">What is backed up when using SME's backup function?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#HDSpace" class="named-wiki" title="">How do I know what space is available on my hard disk?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#vpnAccess" class="named-wiki" title="">Is it possible to define which users can have an access by VPN?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#hardware" class="named-wiki" title="">Can I install SME on one machine and use the same hard disk on another?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#virualDomain" class="named-wiki" title="">I created a virtual domain. Is there a distinction between foo@primary.com and foo@virtual.com?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#x32.HD" class="named-wiki" title="">If I install SME on a computer with two hard drives, will it recognize them and use both?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#username" class="named-wiki" title="">How do i change a username?</a></li>
<li class="tightenable top bottom"><a href="AdministrationFAQ.html#tinydns" class="named-wiki" title="">How to turn off the SME DNS Server?</a></li>
<li class="tightenable top"><a href="AdministrationFAQ.html#tailog" class="named-wiki" title="">How to read the @4000000042a81.. dates in qmail/current and other log files?</a></li>
</ul>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a>  <a name="squid_portopening" id="squid_portopening">How to open ports on the Squid Proxy Server</a></h4>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf <br />
cp /etc/e-smith/templates/etc/squid/squid.conf/20ACL15Safe_ports /etc/e-smith/templates-custom/etc/squid/squid.conf/20ACL15Safe_ports
</code></p>
</blockquote>
<p class="tightenable">Edit <tt>/etc/e-smith/templates-custom/etc/squid/squid.conf/20ACL15Safe_ports</tt>
with whichever text editor you feel comfortable with (vi or pico) and add whatever ports you wish to allow, to the end of the line of text.</p>
<p class="tightenable">Save the changes, then...</p>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
/sbin/e-smith/expand-template /etc/squid/squid.conf <br />
/sbin/e-smith/signal-event console-save <br />
</code></p>
</blockquote>
<p class="tightenable bottom"><small>jckelly</small></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a>  <a name="makeinvisible" id="makeinvisible">How do i make the admin account/a user account invisible for external emails?</a> <br /></h4>
<p class="tightenable top bottom">Issue on console</p>
<pre class="tightenable top">
/sbin/e-smith/db accounts setprop admin Visible internal
/sbin/e-smith/signal-event email-update</pre>
<p class="tightenable">instead of admin you can type in any user. Trying to sent mail to the admin/user It should report something like this:</p>
<p class="tightenable"><i>20*.**.**.248 does not like recipient.
Remote host said: 553 Sorry, that address is in my badrcptto list.
Giving up on 20*.**.**.248.</i></p>
<p class="tightenable">Some user report that this in not working with ClamAV installed.</p>
<p class="tightenable bottom"><small>(Charlie Brady)</small></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="update" id="update">Which updates do I need to apply to SME?</a></h4>
<p class="tightenable"><i>Ian Wells 15 July: The updates structure and process is undergoing changes. This FAQ entry will be updated to reflect this soon.</i></p>
<p class="tightenable">SME should be updated regularly from the <a href="ftp://ibiblio.org/pub/linux/distributions/smeserver/updates/6.0.1/i386/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/ftp.png" alt="" class="linkicon" border="0" />updates</span></a> directory. It is important to install all the updates supported by Contribs.org: the reliability and the safety of your server can depend on it. <br /> <br /></p>
<p class="tightenable">NB: At this time, an automatic update policy is not yet defined. As this policy evolves, this FAQ will be updated to reflect it.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="remote" id="remote">How can I manage SME remotely?</a></h4>
<p class="tightenable top">If you want to administer your SME Server remotely, it is recommended to use an encrypted connection. One of the easiest ways is to use SSH (Secure Shell) which offers a protected and encrypted method to logon to a SME Server from your desktop and to copy files between machines. By default, SSH access is prohibited; once authorized, it remains possible to authorize or forbid remote root access.<br />
SME includes a SSH client and server, and supports both SSH1 and SSH2 protocols. You will easily be able to find many software clients for Windows or Macintosh, free or commercial. Putty is a good example. The Windows version is available <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />here</span></a>.<br /> <br /></p>
<p class="tightenable">There is another possibility: to use a VPN tunnel (PPTP) to connect to your server. A PPTP connection to an SME server can easily be established on an existing Internet connection. Once the PPTP connection is established, an external client  seems to be on the local area network managed by the server. You can then access other clients, ot the Server Manager, in a protected way. <br /> <br /></p>
<p class="tightenable">It is still possible to access SME Server from the local network using telnet, but this method is deprecated. Because user names and passwords are sent across the network in clear text (unencrypted), it will reduce the security of your server to a significant degree. For this reason, telnet access is not enabled by default, and it is recommended to forbid telnet unless you absolutely need it, and then, just for the time it is necessary. Putty, or Mindterm, work very well, and don't send passwords in clear text.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="adminConsol" id="adminConsol">How do I open a session in a terminal when I am on the administration console?</a></h4>
<p class="tightenable top">If you are logged on locally (at the SME Server itself), it is possible to switch to another virtual terminal by using the key combination ALT-F2 (for tty2), ALT-F3 (for tty3), etc.<br /> <br /></p>
<p class="tightenable">Then can you can log on with root and the admin password. By default, only the root account has shell access. A regular user account can be given shell access by root by using the chsh command. Shell access should only be given to highly-trusted local users, and only when absolutely necessary.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="software" id="software">How do I add additional software to SME?</a></h4>
<p class="tightenable top">The best way consists in installing binary packages RPM (ix86.rpm) or noarch (noarch.rpm). The standard <a href="RedHat.html" class="wiki">RedHat</a> packages should be able to be directly installed on your SME server.<br /> <br /></p>
<p class="tightenable">It may be required to install an additional package for it to be perfectly integrated on your SME. You will find on this site many contributions which were developed specifically for SME Server. The mailing list and the forums also contain much information on the way to install and configure these packages. There is a search box to help you find answers to your questions.<br /> <br /></p>
<p class="tightenable">It can also be useful to consult 'CPAN' (Perl) files, 'Freshmeat' or other websites where you can find precompiled RPMs of the software which you wish to install.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="rpm" id="rpm">How do I install and update RPMs?</a></h4>
<p class="tightenable top bottom">To install RPM packages on a <a href="RedHat.html" class="wiki">RedHat</a> based system like SME Server, you will need to know how to use the command line. These are the most used ones:<br /></p>
<blockquote class="tightenable top"><p class="tightenable top bottom"><tt>'man rpm'</tt> will show the man page of the rpm Note: to have the pages of handbook, you will have to download the RPM man-1.5i2-6.i386.rpm and install it with the following commands: <br />
<tt>'rpm -ivh /path/to/the/file.rpm'</tt> will (i)nstall file.rpm with (v)erbose (detailed) feedback by posting (h)ashes during the installation. <br />
<tt>'rpm -Uvh /path/to the/file.rpm'</tt> will (U)pgrade (update) the package, with the same options used previously. <br />
<tt>'rpm -e file.rpm'</tt> will (e)rase (uninstall) the package<br /> <br /></p>
</blockquote>
<p class="tightenable">In certain cases, the --nodeps option will also allow you to install a RPM by ignoring some dependences that are not present on the server.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="compile" id="compile">I need to compile applications under SME. What do I need?</a></h4>
<p class="tightenable top">If you want to compile and create packages on SME, please refer to the <a href="Development.html" class="wiki">Development</a> section of this site.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="smtp" id="smtp">How do I send email (with SME smtp server) when I'm oustide my local area network?</a></h4>
<p class="tightenable top">The best way is to use your ISP's smtp server to send email when you are outside of your LAN. Generally it requires you to modify (or add an additional) mail account on your PC. It's a problem, therefore there are solutions: <br /> <br /></p>
<p class="tightenable">Use a common host name.<br />
Does hostname &quot;mail&quot; correspond to a valid smtp server when you are remotely connected?
If yes, then you can associate the account name of server smtp to use &quot;mail&quot; and you will be able to send mails from outside in in the same way that you would if you were on the local area network, without changing anything. Or, you can connect to the SME server via VPN (PPTP) and then send the messages. Some mail clients such as Outlook Express allow the configuration of several accounts. It is then possible to define an account used on the local area network and another used from outside. Also you can enable Webmail via HTTPS and to use this to send send the messages since this interface is accessible from outside your network.<br /> <br /></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="inbound" id="inbound">How do I authorize entering (inbound) connections of 'NetMeeting' or H323?</a></h4>
<p class="tightenable top">Incoming Netmeeting calls are not supported and will not function with a standard installation of SME. To receive H323 calls, you need a gatekeeper. A gatekeeper is included in '<u title="Empty link to: NetMeeting" onmouseover="window.status=&quot;Empty link to: NetMeeting&quot;; return true;" onmouseout="window.status='';return true;" class="wikiunknown">NetMeeting</u>', and it is the best known. There is a gatekeeper available for Linux, distributed under the Mozilla Public Licence: <a href="http://www.opengatekeeper.org" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.opengatekeeper.org</span></a>.<br /> <br /></p>
<p class="tightenable">It is also possible to use a H323 proxy such as: <a href="http://www.equival.com" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />Phonepatch</span></a></p>
<p class="tightenable bottom">----!</p>
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="modemInitialization" id="modemInitialization">How do I configure the modem initialization strings in SME?</a></h4>
<p class="tightenable top">The best solution consists in storing the strings directly in the memory of the modem, rather than to specify it with each connection. <br />
To store the initialization strings in the modem using the AT command set, use a program such as minicom and type commands similar to these examples:<br /> <br />
AT&amp;F <br />
AT&amp;C1&amp;D2&amp;Q0%C0 <br />
AT&amp;W <br /> <br />
That gives the machine parameters, returns the desired parameters (AT&amp;C1&amp;D2&amp;Q0%C0) and records the modifications (you can need orders AT&amp;F0 and AT&amp;W0; to see the handbook of the modem for specific AT commands). The ATZ commands will restore these parameters without any modification in the SME server configuration. <br />
You will be able to find instructions on how to use minicom, and the modem commands on the page: <br />
<a href="http://www.linuxdoc.org/HOWTO/Modem-HOWTO.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.linuxdoc.org/HOWTO/Modem-HOWTO.html</span></a><br /> <br />
If you absolutely must use initialisation strings at the time of connection, the variable 'ModemInit' should be defined with the command: <br /> <br />
<tt>'/sbin/e-smith/db configuration set ModemInit &quot;M1L1&amp;C1&amp;D2&quot;'</tt> <br /> <br />
and to activate the changes by the command: <br /> <br />
<tt>'/sbin/e-smith/signal-event console-save '</tt></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="limit12carac" id="limit12carac">Is it possible to exceed twelve characters limit of the names of account, group or i-bay?</a></h4>
<p class="tightenable top">Yes, in fact, this limit of twelve characters was deliberately fixed to ensure a compatibility with Windows 9x hosts. You can modify the maximum length by associating the value wanted with the variables maxIbayNameLength, maxAcctNameLength and maxGroupNameLength. When no value is specified, twelve is used by default.<br />
For example, to authorize a fifteen-character maximum length for account names, type the command: <br /> <br />
<tt>'/sbin/e-smith/db configuration set maxAcctNameLength 15'</tt> <br />
<tt>'/sbin/e-smith/signal-event console-save'</tt></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="ntp" id="ntp">Can LAN workstations be synchronized (NTP) on SME Server?</a></h4>
<p class="tightenable top">Yes, a SME server can be used as time server for workstations under Windows, Macintosh and (*)nix like any client supporting NTP or ntpdate. The time server of SME Server is installed by default, and no particular configuration needs to be made.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="linuxConfTools" id="linuxConfTools">Can I use other linux configuration tools on SME, such as 'WebMin', 'SWAT'...?</a></h4>
<p class="tightenable top">No, these tools or others with graphical interface (like direct configuration files editing &quot;by hand&quot;) are not supported because they are basically incompatible with the configuration system of SME. A system of intelligent managementof configurations files based on templates is implemented in SME. The majority of the system configuration files are not modified directly by SME Server-Manager; in fact the templates are modified and used to regenerate the configuration files upon receiving a system-update event.<br /> <br /></p>
<p class="tightenable">If SME manager does not allow you to make the changes which you wish, you can inform Contribs.org of this by addressing a message on the <a href="http://forums.contribs.org/viewforum.php?f=4" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />Suggestions</span></a> forum.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="kernelSource" id="kernelSource">Where can I find the source code of SME Kernel?</a></h4>
<p class="tightenable top">SME Kernel is exactly the same as the one provided by <a href="RedHat.html" class="wiki">RedHat</a>. You can obtain its source code on any '<a href="RedHat.html" class="wiki">RedHat</a>' mirror site.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="kernelConfig" id="kernelConfig">Where can I find .config file used to configure SME Kernel?</a></h4>
<p class="tightenable top">It's the RPM of '<a href="RedHat.html" class="wiki">RedHat</a>' Kernel  that is used. You will be able to find the .config file in the RPM of the kernel source, available on any '<a href="RedHat.html" class="wiki">RedHat</a>' mirror site.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="chmod" id="chmod">Why isn't chmod authorized via ftp?</a></h4>
<p class="tightenable top">Ftp 'chmod' is prohibited by design for security reasons. It's up to the administrator to define the execution rights of any script able to run on the server. To authorize 'chmod' via ftp would be like authorizing the users to make such modifications and it's a safety risk.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="modemConnection" id="modemConnection">How do I configure SME to use a permanent connection by modem?</a></h4>
<p class="tightenable top bottom">When you select the &quot;Server and Gateway - Dialup&quot; operating mode, you also have the ability to define the connection strategy. For a permanent modem connection, select the &quot;continuous&quot; mode. This option may be used for a connection with either a static or a dynamic IP address.<br />
If your ISP provides you a static IP address, the server must assign you a good address when it is connected, by using component IPCP (Internet Protocol Control Protocol) defined in the <a href="http://www.faqs.org/rfcs/rfc1332.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />RFC</span></a> of PPP. If the server does not, you will have to contact your ISP to fix the problem.<br />
If your ISP can't/won't configure its RAS (Remote Access Server) to give a good IP address, you will have to follow the instructions below to create a custom template.
Once this template is created, you will not need to define the external IP adress or its subnet mask. It is not recommended to define a primary or secondary external DNS server.<br /></p>
<h4>Copy the templates which you need into the custom templates directory:<br /> <br /></h4>
<p class="tightenable top bottom"><tt>'mkdir -p /etc/e-smith/templates-custom/etc/diald.conf'</tt> <br />
<tt>'cp /etc/e-smith/templates/etc/diald.conf/pppd-options /etc/e-smith/templates-custom/etc/diald.conf/pppd-options'</tt>
<br /> <br /></p>
<h4>Modification of the new template:<br /> <br /></h4>
<p class="tightenable top bottom"><tt>'perl -pi -e &quot;s/noipdefault/x.x.x.x:y.y.y.y/&quot; /etc/e-smith/templates-custom/etc/diald.conf/pppd-options'</tt> <br /></p>
<ul><li class="tightenable top bottom">with x.x.x.x corresponding to your IP address and y.y.y.y with the subnet mask of your ISP. You should not be obliged to specify y.y.y.y</li>
</ul>
<h4>Expand the corresponding configuration file (/etc/diald.conf) and restart diald service : <br /> <br /></h4>
<p class="tightenable top"><tt>'/sbin/e-smith/signal-event console-save'</tt></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="ssh2" id="ssh2">How do I modify the configuration to use protocol SSH 2.0?</a></h4>
<p class="tightenable top">To use SSH 2.0 protocol, you must create a custom template as described below: <br /> <br /></p>
<h4>Copy the original templates into the custom templates directory: <br /> <br /></h4>
<p class="tightenable top"><tt>'mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config '</tt> <br />
<tt>'cp /etc/e-smith/templates/etc/ssh/sshd_config/20HostKey /etc/e-smith/templates-custom/etc/ssh/sshd_config'</tt>
<br /> <br /></p>
<h4>Edit /etc/e-smith/templates-custom/etc/ssh/sshd_config/20HostKey and add the two lines:</h4>
<p class="tightenable top"><tt>'HostKey /etc/ssh/ssh_host_dsa_key'</tt> <br />
<tt>'HostKey /etc/ssh/ssh_host_rsa_key'</tt> <br /> <br /></p>
<h4>execute these two command lines:</h4>
<p class="tightenable top"><tt>'/sbin/e-smith/expand-template /etc/ssh/sshd_config'</tt> <br />
<tt>'/sbin/e-smith/signal-event remoteaccess-update'</tt> <br /> <br /></p>
<p class="tightenable">You should now be able to connect to your SME server using SSH 2.0.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="dns" id="dns">Why does SME recommend to not use a primary or secondary external DNS server?</a></h4>
<p class="tightenable top">If you configure SME to query an external DNS server with name resolution requests, it is possible for the ISP to fail to resolve them. You will also have to reconfigure your SME Server every time you change ISP's. The increase in performance is tiny compared to the ease and reliability you get if you do not define a external DNS server.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="extdns65" id="extdns65">How do I forward DNS name resolution requests to another DNS server anyway, in SME 6.5?</a></h4>
<p class="tightenable top">Beginning with SME Server 6.5, the ability to specify another DNS name server in the Server Manager was removed, because of the problems it was causing with end-users. SME is still able to forward name requests, and if you are sure you really need to do this, here's how: <br /></p>
<p class="tightenable">Determine the IP of the DNS server you want to use. Of course this server must be one that the SME Server can 'see' on the network. <br />
Open a terminal session and type: <br />
/sbin/e-smith/config setprop dnscache Forwarder &lt;enter the IP here (without the &lt;&gt;'s)&gt; <br />
/etc/e-smith/events/actions/dnscache-conf <br /></p>
<p class="tightenable">To remove it do the following: <br /></p>
<p class="tightenable">/sbin/e-smith/config delprop dnscache Forwarder <br />
/etc/e-smith/events/actions/dnscache-conf</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="backup" id="backup">What is backed up when using SME's backup function?</a></h4>
<p class="tightenable top">The function &quot;backup to desktop&quot; will create and transfer a compressed file (smeserver.tgz) which contains the following files and repertories:
<br /> <br />
/home/e-smith <br />
/etc/e-smith/templates-custom <br />
/etc/e-smith/templates-user-custom <br />
/etc/ssh <br />
/root/.ssh <br />
/etc/passwd <br />
/etc/shadow <br />
/etc/group <br />
/etc/gshadow <br />
/etc/smbpasswd <br />
<br />
The function &quot;backup to tape&quot; will make a level 0 backup(*) of all the file system, thanks to the program flexbackup (flexible backup script).
(*)A level 0 Backup of &quot;everything&quot; requires using a new tape. It will be retightened and erased.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="HDSpace" id="HDSpace">How do I know what space is available on my hard disk?</a></h4>
<p class="tightenable top">The command &quot;df&quot; returns the usage level of the file system. Used with the options &quot;-h&quot; and &quot;/&quot;, it will post the size of the root partition, used space, and available space. <br />
For example:<br />
<tt>'df - H/'</tt> <br />
=filesystem Size Used Avail Use% Mounted one <br />
=dev/hda6 1.2G 310M 838M 27% = <br /> <br />
Type df -- help to obtain a list of options.<br /> <br /></p>
<p class="tightenable">You may also install the phpsysinfo contrib and watch the information about the &quot;Mounted Filesystems&quot; on <a href="http://servername/phpsysinfo/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://servername/phpsysinfo/</span></a></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="vpnAccess" id="vpnAccess">Is it possible to define which users can have an access using VPN?</a></h4>
<p class="tightenable top">Yes, but be careful: by default, no user (with an activated account) can establish a PPTP connection to the server. Using the Server-Manager, access can be activated, in the Users section. <br /></p>
<h4>Be carefull how high you set the maximum number of authorized connections for PPTP. See the Forums for details.</h4>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="hardware" id="hardware">Can I install SME on one machine and use the same hard disk on another?</a></h4>
<p class="tightenable top">You should do this only if the two machines are physically identical. Many major elements, like the type of processor, are detected at the installation. The installation program will install many important packages dependent on the type of processor, and kernel. Such packages are likely not to function with other hardware.<br />
If you move the disc on a less powerful machine (ex: from a PIII to a Pentium), the machine will stop just after having posted &quot;freeing CPU memory&quot;. <br />
If you move the disc on a more powerful machine (ex: from a Pentium to a PIII), you will not profit from the increase in performance.<br /> <br /></p>
<p class="tightenable">In this case, it is recommended to update (using the same version) in order to ensure that the packages installed correspond to the type of processor in your server. That will also make it possible to detect and install the SMP core if necessary.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="virualDomain" id="virualDomain">I created a virtual domain. Is there a distinction between foo@primary.com and foo@virtual.com?</a></h4>
<p class="tightenable top">No. Foo@primary.com and foo@virtual.com represent the same user and thus the same mail account.</p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="x32.HD" id="x32.HD">If I install SME on a computer with two hard drives, did it recognize them and use both?</a></h4>
<p class="tightenable top">At the time of SME installation or update, there should be only one disc, or two identical discs which will be used in mirroring (software RAID-1). All the other disc must be disconnected. <br />
If you have two discs and you have not selected the software RAID, the second disc partitions table will be rewritten. What installation will do with the second disc is not definite.</p>
<p class="tightenable bottom">You can add discs after installation or update, if you know some Linux. You will be able to find help in the <a href="http://forums.contribs.org/viewforum.php?f=3" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />Experienced</span> user forum</a>. There is also a how to: <br />
<a href="extra%20hard%20disk.html" class="named-wiki" title="extra hard disk">How to add an extra hard disk to a SME server</a></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="username" id="username">How do i change a username?</a></h4>
<p class="tightenable">Sorry, you don't. Bad luck. <br /></p>
<p class="tightenable bottom"><small>Charlie Brady</small></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="tinydns" id="tinydns">How to turn off the SME DNS Server?</a></h4>
<blockquote class="mail-style-quote tightenable"><p class="tightenable top bottom"><code>
/sbin/e-smith/config setprop dnscache Forwarder a.b.c.d <br />
/sbin/e-smith/signal-event post-upgrade <br />
/sbin/e-smith/signal-event reboot </code> <br /></p>
</blockquote>
<p class="tightenable">a.b.c.d should be one of the DNS servers on your LAN, which must be able to resolve host and domain names on your LAN, and should be able to resolve reverse DNS for your LAN.</p>
<p class="tightenable"><small>Charlie Brady</small></p>
<hr />
<h4><a href="AdministrationFAQ.html#top" class="named-wiki" title="">*</a> <a name="tailog" id="tailog">How to read the @4000000042a81.. dates in qmail/current and other log files?</a></h4>
<p class="tightenable">Apply these examples to the required log file to get output in date format</p>
<p class="tightenable">To show everything <br />
<code>grep &quot;&quot; /var/log/qmail/current | tai64nlocal</code></p>
<p class="tightenable">To show only selected occurrences <br />
<code>grep &quot;hello&quot; /var/log/qmail/current | tai64nlocal</code></p>
<p class="tightenable bottom"><small>Stefan Braunstein</small></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;RonM&quot;  Last edited on December 8, 2005  1:53 am by &quot;RonM&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
